Type Alias: PushResult
PushResult = {
accepted:true;inlineOutput?:Json; } | {accepted:false;fatal?:boolean;reason:string; }
Defined in: sdk/ts/sdk/src/host/transport/types.ts:35
What a transport's push answers. accepted means the task is now the worker's: the dispatcher records it as running. inlineOutput is a result the worker returned at once.
Union Members
Type Literal
{ accepted: true; inlineOutput?: Json; }
Type Literal
{ accepted: false; fatal?: boolean; reason: string; }
fatal means the worker rejected the task itself; retrying would not help.