Interface: ConnectionView<T>
types.ConnectionView
Type parameters
Name | Type |
---|---|
T | extends Record <string , any > |
Hierarchy
Connection
<T
>↳
ConnectionView
Properties
[Marker]
• Optional
[Marker]: T
Inherited from
Connection.__@Marker@188
Defined in
node_modules/multiformats/dist/types/src/block/interface.d.ts:28
channel
• Readonly
channel: Channel
<T
>
Inherited from
Connection.channel
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:195
decoder
• Readonly
decoder: ResponseDecoder
Inherited from
Connection.decoder
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:188
encoder
• Readonly
encoder: RequestEncoder
Inherited from
Connection.encoder
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:187
hasher
• Readonly
hasher: MultihashHasher
<number
>
Inherited from
Connection.hasher
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:202
id
• id: Principal
<`did:${string}:${string}`>
Overrides
Connection.id
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:205
Methods
execute
▸ execute<C
, I
>(...invocations
): Await
<InferServiceInvocations
<I
, T
>>
Type parameters
Name | Type |
---|---|
C | extends Capability <Ability , `${string}:${string}`, unknown , C > |
I | extends [ServiceInvocation <C , T >, ...ServiceInvocation<C, T>[]] |
Parameters
Name | Type |
---|---|
...invocations | I |
Returns
Await
<InferServiceInvocations
<I
, T
>>
Defined in
node_modules/@ucanto/interface/dist/src/lib.d.ts:206