import { AnyObject } from './utils'; /** * Effects and business logic controller. * * Implementation of the controller must provide `destroy()` method. It should * be used for closing subscriptions and disposing resources. * * @example * ```ts * type LoggerController = Controller<{ * log: (message: string) => void; * }>; * ``` */ export type Controller = Readonly void; }>;