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.

贡献者指南