Interface: ServiceFactory
Implemented by
Methods
createService
▸ createService<S
, T
>(ctor
, context
, initialState
): T
Type parameters
Name | Type |
---|---|
S | extends State |
T | extends AppService <S , T > |
Parameters
Name | Type |
---|---|
ctor | Class <T > |
context | AppContext |
initialState | S |
Returns
T
Defined in
onekijs/packages/onekijs-framework/src/types/service.ts:48