Skip to content

Implement asynchronous injection with async factories #107

@basedalexander

Description

@basedalexander

The idea is to add ability of injecting stuff asynchronously. The syntax example:

{ 
      token: 'IConfig',
      useFactory: async (service: any) => {
              const something = await.service.getSomething();
              return something;
      },
     inject: [Service]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions