Skip to main content Link Search Menu Expand Document (external link)

MobyConvey.ts overview

Convenance utilities for Docker input and output streams.

Since v1.0.0


Exports Grouped by Category


Conveyance Sinks

followProgressInConsole

Tracks the progress stream in the console and returns the result.

Signature

declare const followProgressInConsole: <E1, R1>(
  stream: Stream.Stream<MobySchemas.JSONMessage, E1, R1>
) => Effect.Effect<Chunk.Chunk<MobySchemas.JSONMessage>, E1, Exclude<R1, Scope.Scope>>

Source

Since v1.0.0

followProgressSink

Consumes the progress stream and logs it to the console.

Signature

declare const followProgressSink: Sink.Sink<void, MobySchemas.JSONMessage, never, never, never>

Source

Since v1.0.0

waitForProgressToComplete

Waits for the progress stream to complete and returns the result.

Signature

declare const waitForProgressToComplete: <E1, R1>(
  stream: Stream.Stream<MobySchemas.JSONMessage, E1, R1>
) => Effect.Effect<Chunk.Chunk<MobySchemas.JSONMessage>, E1, Exclude<R1, Scope.Scope>>

Source

Since v1.0.0