functai for TypeScript - v0.1.0
    Preparing search index...

    Type Alias RemoteProgram

    RemoteProgram: AnyModule & {
        described: Rec;
        url: string;
        events(input: unknown, options?: CallOptions): AsyncGenerator<Rec>;
    }

    A served program, called like a local one: an AI function's or a module's surface, its code a request to the server.

    Type Declaration

    • Readonlydescribed: Rec

      The server's description of it (GET /interface).

    • Readonlyurl: string

      Where it is served.

    • events: function
      • The served call, watched: the server's outside view, as the contract's JSON events (not logged here).

        Parameters

        Returns AsyncGenerator<Rec>