For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Function: layer()

Opt-In Subpath

The Effect API is an opt-in subpath (@camunda8/orchestration-cluster-api/effect) and requires the optional effect peer dependency. The main . entry stays Promise-based and pulls in zero Effect at runtime.

function layer(options?): Layer<CamundaEffect>;

A Layer that constructs a CamundaEffectClient and provides it as the CamundaEffect service. Swap in a test double by providing a different Layer for the same tag.

Parameters

options?

CamundaOptions

Returns

Layer<CamundaEffect>