iya-sts
    Preparing search index...

    Variable performMethod

    performMethod: (
        surface: any,
        method: any,
        args: any,
    ) => Promise<
        | { ok: boolean; reply: any }
        | { code: any; errorCode: any; message: any; ok: boolean; stack: any },
    > = ...

    Type Declaration

      • (
            surface: any,
            method: any,
            args: any,
        ): Promise<
            | { ok: boolean; reply: any }
            | { code: any; errorCode: any; message: any; ok: boolean; stack: any },
        >
      • Runs one method in the realm the request names, with the same handler the socket would have called.

        Parameters

        • surface: any

          the surface

        • method: any

          the method

        • args: any

          what methodRequest() built

        Returns Promise<
            | { ok: boolean; reply: any }
            | { code: any; errorCode: any; message: any; ok: boolean; stack: any },
        >

        { ok: true, reply }, or { ok: false, … } describing the refusal

        an Error when this process has no handler for the method