Unity Plugin Task Cancellation

65 views
Skip to first unread message

leayleozo

unread,
Dec 29, 2016, 5:35:19 PM12/29/16
to Firebase Google Group
The task cancel mechanism https://msdn.microsoft.com/en-us/library/dd537607(v=vs.110).aspx does not seem to be working for us when applied to the Unity plugin.  

The Task API presented by the plugin seems to allow for the passing of CancellationToken objects. However, tasks (at least those returned by database functions such as Firebase.Database.Query.GetValueAsync()) do not seem to respond to the CancellationTokenSource.Cancel() function.

Does the Unity Plugin API support cancellation in this regard?  

We're using: 

Unity 5.5.0p2
Firebase Plugin 1.1.0
Mac OS X 10.11.6

Thank you
Reply all
Reply to author
Forward
0 new messages