This is somewhat of a rehash of #7, but it's in the context of the latest strawman (#18).
Basically, the choices for parameters to factory are:
resolve + reject
resolver + resolver.reject
- an object with
resolve and reject properties
And the reason for choosing 2 or 3 over 1 is future extensibility.
This is somewhat of a rehash of #7, but it's in the context of the latest strawman (#18).
Basically, the choices for parameters to
factoryare:resolve+rejectresolver+resolver.rejectresolveandrejectpropertiesAnd the reason for choosing 2 or 3 over 1 is future extensibility.