{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/barback/issues/1","labels_url":"https://api.github.com/repos/dart-lang/barback/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/barback/issues/1/comments","events_url":"https://api.github.com/repos/dart-lang/barback/issues/1/events","html_url":"https://github.com/dart-lang/barback/issues/1","id":57057968,"number":1,"title":"Multiple outputs?","user":{"login":"eernstg","id":9606994,"avatar_url":"https://avatars.githubusercontent.com/u/9606994?v=3","gravatar_id":"","url":"https://api.github.com/users/eernstg","html_url":"https://github.com/eernstg","followers_url":"https://api.github.com/users/eernstg/followers","following_url":"https://api.github.com/users/eernstg/following{/other_user}","gists_url":"https://api.github.com/users/eernstg/gists{/gist_id}","starred_url":"https://api.github.com/users/eernstg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eernstg/subscriptions","organizations_url":"https://api.github.com/users/eernstg/orgs","repos_url":"https://api.github.com/users/eernstg/repos","events_url":"https://api.github.com/users/eernstg/events{/privacy}","received_events_url":"https://api.github.com/users/eernstg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-09T16:58:12Z","updated_at":"2015-02-09T16:58:12Z","closed_at":null,"body":"Hello,\r\n\r\nI got a little confused about the documentation of the addOutput method:\r\n\r\n /// Stores [output] as the output created by this transformation.\r\n  ///\r\n  /// A transformation can output as many assets as it wants.\r\n  void addOutput(Asset output) {\r\n    // TODO(rnystrom): This should immediately throw if an output with that ID\r\n    // has already been created by this transformer.\r\n    _outputs.add(output);\r\n  }\r\n\r\nReading the dartdoc, there's support for two interpretations: \"There is exactly or at most one output asset per transformation\", based on the wording '_the_ output created'; the other interpretation is \"There may be any number of output assets\", based on the wording 'as many assets as it wants'.\r\n\r\nBut in practice I haven't been able to get two outputs, one of the 'addOutput' invocations seems to have no effect.  Then I noticed 'should immediately throw..', which seems to reinforce the \"..at most one..\" interpretation.\r\n\r\nMaybe the dartdoc could be made more explicit, such that other readers won't experience the same confusion?\r\n"}}