Cerbero
    Preparing search index...

    Interface CerberoPlugin

    interface CerberoPlugin {
        name: string;
        init(emit: PluginEmitter): void | (() => void);
    }
    Index

    Properties

    Methods

    Properties

    name: string

    Unique identifier for this plugin.

    Methods

    • Called once when the plugin is registered via cerbero.use(plugin). Receives emit to send custom events through the Cerbero pipeline. Return a cleanup function to be called on destroy().

      Parameters

      Returns void | (() => void)