getify/fasy

Is there a way to make operations cancelable?

オープン

#6 opened on 2018/04/12

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (20 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (550 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド