Using ExecutionContextService Provided by Middleware

How do I use the service that my middleware provides?

export class AuthMiddleware extends HttpApiMiddleware.Tag<AuthMiddleware>()(
  "Http/AuthMiddleware",
  {
    failure: AuthenticationError,
    provides: ExecutionContextService,
    optional: false,
  },
) {
// implementation
}):


So how would I use my ExecutionContextService in other services?

Do I need to provide it somewhere when starting my app, or just the normal yield*
Was this page helpful?