Skip to content

TypeScript API / contentia/core / ContentiaTask / ContentiaMetadataEmit

Interface: ContentiaMetadataEmit ​

Structural shape shared by ContentiaTaskEmit and ContentiaStreamEmit for the metadata channel (recoverable errors + progress). Helpers that forward metadata between ContentiaTask and ContentiaStream accept this minimal interface so either emit shape can be plugged in.

Extended by ​

Properties ​

progress ​

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

Parameters ​

ParameterType
progressContentiaProgress

Returns ​

Effect<void>


recoverableError ​

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

Parameters ​

ParameterType
errorContentiaError

Returns ​

Effect<void>