MCPcopy Index your code
hub / github.com/simstudioai/sim / decodePayloads

Function decodePayloads

apps/sim/tools/temporal/utils.ts:190–192  ·  view source on GitHub ↗
(payloads: TemporalPayloads | undefined)

Source from the content-addressed store, hash-verified

188
189/** Decodes a Temporal `Payloads` collection into an array of JSON values. */
190export function decodePayloads(payloads: TemporalPayloads | undefined): unknown[] {
191 return (payloads?.payloads ?? []).map(decodePayload)
192}
193
194/** Decodes a `map<string, Payload>` (memo / search attributes) into a plain object. */
195export function decodePayloadMap(

Callers 2

update_workflow.tsFile · 0.90
query_workflow.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected