Pause
Reset
Tooltip text
CLIENT (SIMULATOR)
SERVER (GLOW-TRACE)
SSE EVENT
PERSIST
HTTP REQ
GLOW-TRACE ENGINE
Status:
Active
Stream:
SSE Connected
STATE STORE
Type:
PostgreSQL
WORKFLOW.TS
1
import { workflow } from '@glow/sdk';
2
3
export const myFlow = workflow(
4
'onboarding',
5
async (ctx) => {
6
const user = await ctx.run('fetchUser');
7
return { status: 'complete', user };
8
}
9
);