Skip to main content

useController

Callable

  • useController<TContext, TService>(declaration: ControllerDeclaration<TContext, TService>): TService
  • useController<TContext, TService, TProps>(declaration: ControllerDeclaration<TContext, TService>, props: TProps): TService