Beignet API reference
    Preparing search index...

    Interface NotificationHandlers<Ctx>

    Context-bound notification helper factory.

    interface NotificationHandlers<Ctx> {
        createInlineNotificationDispatcher(
            options?: InlineNotificationDispatcherOptions<Ctx>,
        ): NotificationPort;
        defineNotification<Name extends string, Payload extends StandardSchema>(
            name: Name,
            options: DefineNotificationOptions<Payload, Ctx>,
        ): NotificationDef<Name, Payload, Ctx>;
    }

    Type Parameters

    • Ctx
    Index

    Methods