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
| Parameter | Type |
|---|---|
progress | ContentiaProgress |
Returns
Effect<void>
recoverableError
ts
readonly recoverableError: (error) => Effect<void>;Parameters
| Parameter | Type |
|---|---|
error | ContentiaError |
Returns
Effect<void>