Beignet API reference
    Preparing search index...

    Interface DefineNotificationOptions<Payload, Ctx>

    Options for declaring a typed notification.

    interface DefineNotificationOptions<Payload extends StandardSchema, Ctx> {
        channels: NotificationChannels<Payload, Ctx>;
        description?: string;
        payload: Payload;
    }

    Type Parameters

    Index

    Properties

    Channel handlers that deliver the notification.

    description?: string

    Optional human-readable description for docs and tooling.

    payload: Payload

    Standard Schema payload validator.