Prisma · Arazzo Workflow
Prisma Pulse Create and Resume a Named Stream
Version 1.0.0
Create a resumable named event stream, read its cursor position, and fetch the last persisted event by ULID.
Provider
Workflows
create-and-resume-named-stream
Create a named stream, read its cursor, and fetch the last persisted event by ULID.
Creates a resumable named stream for a model, lists streams to read the saved cursor position, and fetches the cursor event when one is present.
1
createStream
createStream
Create a resumable named event stream for the supplied model. Requires event persistence to be enabled on the environment.
2
readStreamCursor
listStreams
List the active streams and read the cursor position for the newly created stream, branching on whether a saved cursor event exists to resume from.
3
fetchCursorEvent
getEvent
Fetch the specific persisted change event identified by the stream cursor ULID to confirm the resume point.