-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I often find myself wanting to create promises that do nothing until you call then on them. Is it just me, or are other people doing this too? If other people are too then should we consider how we support this in resolvers.
Options:
- add an
.onStart(fn)method to the resolver object (only viable option for Return a deferred #2) - add options to delay calling
fnwhen you create the promisenew Promise(fn, {cold: true})
Metadata
Metadata
Assignees
Labels
No labels