Home > typeioc > IContainer > resolveAsync
Asynchronously resolves a service with optional parameters
Signature:
resolveAsync<R>(service: {}, ...args: {}[]): Promise<R>;
| Parameter | Type | Description | 
|---|---|---|
| service | {} | 
      service value registered prior resolution | 
| args | {}[] | 
      optional arguments for the service instantiation | 
Returns:
Promise<R>
null or undefined service value, rejects the promise with ArgumentError