[aerogear-dev] "cancel" method on Pipe

Matthias Wessendorf matzew at apache.org
Thu Feb 14 02:31:42 EST 2013


On Mon, Feb 11, 2013 at 4:12 PM, Summers Pittman <supittma at redhat.com> wrote:
> We have three JIRA's[1] to add a cancel method to Pipe.
>
> In Android (and presumably iOS and to a lesser extent JS) Pipes are shared
> among multiple threads and each request exists in its own scope.  (IE
> multiple threads can have multiple requests running at one time).
>
> When a "cancel" is called, which request is cancelled?

When calling cancel on a pipe, I'd assume that all enqueued/running
requests, for that particular pipe, are canceled.

-Matthias


>  I've attempted to address this (and some larger issues) here:
> https://github.com/aerogear/aerogear.org/blob/pipe_spec/docs/specs/aerogear-client-pipe/index.markdown
>
>
> Summers
>
> 1: (898,901,895)
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


More information about the aerogear-dev mailing list