Setu-TS
    Preparing search index...

    Type Alias ServiceFactory<T>

    ServiceFactory: () => T

    A factory invoked lazily on the first lookup of a token registered with IServiceRegistry.registerFactory.

    No-argument: the registry holds the factory and calls it with nothing when the token is first resolved. Do not confuse with RegistryFactory, which takes the IServiceRegistry as its one argument — the two differ in arity and are not interchangeable.

    Type Parameters

    • T

      The service type produced

    Type Declaration

      • (): T
      • Returns T

    0.1.0