Skip to content

Documentation / @super-line/client / ClientMethods

Type Alias: ClientMethods<C, R>

ClientMethods<C, R> = { [K in keyof Requests<C, R>]: (input: ClientInput<Requests<C, R>[K]>, opts?: CallOptions) => Promise<Output<Requests<C, R>[K]>> }

Defined in: packages/client/src/index.ts:53

The request-calling half of Client (one method per request in the role's surface).

Type Parameters

C

C extends Contract

R

R extends RoleOf<C>

Released under the MIT License.