onAttached
Invoked when the middleware is active. Use this method to initialize or set functionality like coroutine scopes, listeners, etc.
Parameters
middlewareContext
Provides context about the current state and configuration.
Invoked when the middleware is active. Use this method to initialize or set functionality like coroutine scopes, listeners, etc.
Provides context about the current state and configuration.