interface BackendComponentClient {
    call<T>(functionName: string, functionArguments?: Record<string, any>): Promise<BackendComponentResult<T>>;
    destroy(): void;
}

Methods

Methods

  • Type Parameters

    • T = any

    Parameters

    • functionName: string

      The name of the Custom Backend Component function you want to call

    • OptionalfunctionArguments: Record<string, any>

      The arguments you want to pass to the Custom Backend Component function

    Returns Promise<BackendComponentResult<T>>

  • Returns void