Skip to content

Single- versus multi-param factory #19

Closed
@domenic

Description

@domenic

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:

  1. resolve + reject
  2. resolver + resolver.reject
  3. an object with resolve and reject properties

And the reason for choosing 2 or 3 over 1 is future extensibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions