Skip to content

@oona/vlo / host / TaskTransport

Interface: TaskTransport ​

Defined in: sdk/ts/sdk/src/host/transport/types.ts:41

Delivers a scheduled task to whatever runs it. The dispatcher picks one per queue.

Properties ​

kind ​

readonly kind: string

Defined in: sdk/ts/sdk/src/host/transport/types.ts:43

A label for warnings, e.g. http-push or in-process.

Methods ​

push() ​

push(task): Promise<PushResult>

Defined in: sdk/ts/sdk/src/host/transport/types.ts:45

Hands the task over. Must not throw for a refused push; report it in the result.

Parameters ​

task ​

PushedTask

Returns ​

Promise<PushResult>