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

SingleRunner.ts overview

Since v1.0.0


Exports Grouped by Category


Layers

layer

A sql backed single-node cluster, that can be used for running durable entities and workflows.

Signature

declare const layer: (options?: {
  readonly shardingConfig?: Partial<ShardingConfig.ShardingConfig["Type"]> | undefined
  readonly runnerStorage?: "memory" | "sql" | undefined
}) => Layer.Layer<
  Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage,
  ConfigError.ConfigError,
  SqlClient.SqlClient
>

Source

Since v1.0.0