Skip to main content

useCustomCallbackFunction

Callable

  • useCustomCallbackFunction(): (type: string, data: unknown) => Promise<unknown>

  • Returns (type: string, data: unknown) => Promise<unknown>

      • (type: string, data: unknown): Promise<unknown>
      • Parameters

        • type: string
        • data: unknown

        Returns Promise<unknown>