getify/fasy

Is there a way to make operations cancelable?

Open

#6 ouverte le 12 avr. 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (20 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (550 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur