UI Component Reference - v2.63.4
    Preparing search index...

    Interface BackendComponentClient

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

    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>>

      a Promise that resolves with the result of the Custom Backend Component function. Rejects if the HTTP call failed

    • Returns void