Beignet API reference
    Preparing search index...

    Interface NotificationChannelHandleArgs<Payload, Ctx>

    Arguments passed to a notification channel handler.

    interface NotificationChannelHandleArgs<Payload extends StandardSchema, Ctx> {
        channel: string;
        ctx: Ctx;
        notification: NotificationDef<string, Payload, Ctx>;
        payload: InferSchemaOutput<Payload>;
    }

    Type Parameters

    Index

    Properties

    channel: string

    Channel name being delivered.

    ctx: Ctx

    Handler context.

    notification: NotificationDef<string, Payload, Ctx>

    Notification definition being delivered.

    Parsed notification payload.