getify/fasy

Is there a way to make operations cancelable?

開放

#6 建立於 2018年4月12日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (20 個分叉)github user discovery
help wanted

倉庫指標

星標
 (550 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Explore some way to combine/bring in CAF (cancelable async functions) capabilities so that fasy's async iterations are optionally cancelable.

This might need to be a separate namespace where the API methods assume the cancelable token being passed in, or it may just be that existing methods could be polymorphic in some way.

Also to be explored: should fasy re-implement the cancelation, or should there be an adapter that can be optionally applied which delegates to CAF (which would need to be present separately) when needed.

貢獻者指南