Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/workflow / / parseAwakeableRef
Function: parseAwakeableRef()
ts
function parseAwakeableRef(raw):
| AwakeableRef
| null;Defined in: packages/workflow/src/awakeable-ref.ts:66
Parse a string produced by serializeAwakeableRef. Returns null on anything malformed (wrong prefix, wrong arity, empty or undecodable segments) - callback data arriving from a channel is untrusted input, so the parse never throws.
Parameters
| Parameter | Type |
|---|---|
raw | string |
Returns
| AwakeableRef | null