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

Tasks overview

A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.

Added in v1.0.0


Table of contents


Errors

TasksError (class)

Signature

export declare class TasksError

Added in v1.0.0

isTasksError

Signature

export declare const isTasksError: (u: unknown) => u is TasksError

Added in v1.0.0

Layers

TasksLayer

A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.

Signature

export declare const TasksLayer: Layer.Layer<
  Tasks,
  never,
  HttpClient.HttpClient<HttpClientError.HttpClientError, Scope>
>

Added in v1.0.0

Tags

Tasks (class)

A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.

Signature

export declare class Tasks

Added in v1.0.0