Type Alias: Effectify<C>
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.
type Effectify<C> = {
[K in FnKeys<C>]: C[K] extends (a: infer A) => infer R
? (a: A) => Effect.Effect<Awaited<R>, DomainError, never>
: never;
} & object & { [K in Exclude<keyof C, FnKeys<C>>]: C[K] };
Maps every method of C to an Effect-returning method, preserving non-fn members.
Type Declaration
inner
inner: C;
Type Parameters
C
C