zibri
    Preparing search index...

    Options for subscribing to events.

    type EventSubscribeOptions = {
        attempts?: number;
        subscriberId: string;
        timeout?: number;
    }
    Index

    Properties

    attempts?: number

    The amount of attempts. Defaults to 1.

    subscriberId: string

    The id of the subscriber that wants to subscribe.

    Needs to be unique and should stay consistent to survive power cycles.

    timeout?: number

    The timeout in which the hook should finish. Defaults to 30 seconds.