Skip to content

TypeScript API / laikacms/core / LaikaTask / LaikaMetadataEmit

Interface: LaikaMetadataEmit ​

Structural shape shared by LaikaTaskEmit and LaikaStreamEmit for the metadata channel (recoverable errors + progress). Helpers that forward metadata between LaikaTask and LaikaStream accept this minimal interface so either emit shape can be plugged in.

Extended by ​

Properties ​

progress ​

ts
readonly progress: (progress) => Effect<void>;

Parameters ​

ParameterType
progressLaikaProgress

Returns ​

Effect<void>


recoverableError ​

ts
readonly recoverableError: (error) => Effect<void>;

Parameters ​

ParameterType
errorLaikaError

Returns ​

Effect<void>

Released under the MIT License.