5 ms·
Microsoft uses "Task". I like that way better.
by Aleman360 11y ago
Microsoft uses "Task". I like that way better.
- Cakez0r 11y agoand also the aptly named "TaskCompletionSource", which would be the promise equivalent (using Facebook's terminology)
- jmtulloss 11y agoThat is, their terminology for this project. In facebook's Bolts framework for iOS they use Task and TaskCompletionSource https://github.com/BoltsFramework/Bolts-iOS#tasks https://github.com/BoltsFramework/Bolts-iOS#tasks
- yelnatz 11y agoThat term actually makes the subject much more understandable.
- masklinn 11y agoIt doesn't. "Task" has a notion of side-effect and no notion of yielding a value. Except a task can yield a value and have no side-effect.