Taquito TypeDocs
    Preparing search index...

    Type Alias BeaconEventHandlerFunction<T>

    BeaconEventHandlerFunction: (
        data: T,
        eventCallback?: AlertButton[],
    ) => void | Promise<void>

    Event handler callback signature accepted by BeaconWallet.subscribeToEvent and DAppClient.subscribeToEvent.

    Type Parameters

    • T = unknown

    Type Declaration

      • (data: T, eventCallback?: AlertButton[]): void | Promise<void>
      • Parameters

        • data: T
        • OptionaleventCallback: AlertButton[]

        Returns void | Promise<void>