getify/fasy

Is there a way to make operations cancelable?

Open

#6 aperta il 12 apr 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (20 fork)github user discovery
help wanted

Metriche repository

Star
 (550 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor