@hotmeshio/hotmesh
Version:
Serverless Workflow
10 lines (9 loc) • 406 B
TypeScript
import { StringStringType } from './common';
/**
* Adds custom user data to the backend workflow record (writes to HASH).
* Runs exactly once during workflow execution.
*
* @param {StringStringType} fields - Key-value fields to enrich the workflow record.
* @returns {Promise<boolean>} True when enrichment is completed.
*/
export declare function enrich(fields: StringStringType): Promise<boolean>;