transport
本頁內容尚未翻譯。
function transport<E, R>( plugins: Capabilities, fixture: (plugins: Capabilities) => Effect<Channel, E, R>,): { chunks: Effect<void, TransportError | ConformanceError | E, Scope | R> eof: Effect<void, TransportError | ConformanceError | E, R>}Defined in: Testing.ts:35
The fixture supplies addresses/credentials and an echo session; no full runner is required.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
E |
R |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
plugins |
Capabilities |
fixture |
(plugins: Capabilities) => Effect<Channel, E, R> |
Returns
Section titled “Returns”{ chunks: Effect<void, TransportError | ConformanceError | E, Scope | R> eof: Effect<void, TransportError | ConformanceError | E, R>}| Name | Type | Defined in |
|---|---|---|
chunks |
Effect<void, | TransportError | ConformanceError | E, Scope | R> |
Testing.ts:41 |
eof |
Effect<void, | TransportError | ConformanceError | E, R> |
Testing.ts:108 |