Skip to content

Function: activityFromAgent()

ts
function activityFromAgent(a): Activity | null;

Defined in: packages/sdk/src/activity.ts:30

Map AgentActivity onto UI Activity. Returns null when there is nothing to paint (none / dead — callers may map dead"error" themselves if they want chrome).

Parameters

a

AgentActivity

Returns

Activity | null