ShapeGroupOptions
Defined in: packages/client/src/circuits/shape-group.ts:24
Properties
Section titled “Properties”fetch?
Section titled “fetch?”
optionalfetch?: typeoffetch
Defined in: packages/client/src/circuits/shape-group.ts:29
optionallive?:boolean
Defined in: packages/client/src/circuits/shape-group.ts:28
onStreamEnd?
Section titled “onStreamEnd?”
optionalonStreamEnd?: (shape,error) =>void
Defined in: packages/client/src/circuits/shape-group.ts:39
One shape’s read ENDED — null for a normal end, an error for a read that died mid-session.
Forwarded straight from readShapeStream’s onEnd, and never fired for a stream this
group closed itself: unsubscribeAll is the caller’s own instruction, not a condition to
recover from. See readShapeStream for why a consumer that ignores this goes permanently quiet
instead of failing.
Parameters
Section titled “Parameters”string
Error | null
Returns
Section titled “Returns”void
onTokenRejected?
Section titled “onTokenRejected?”
optionalonTokenRejected?: (status) =>string|Promise<string|null> |null
Defined in: packages/client/src/circuits/shape-group.ts:27
Parameters
Section titled “Parameters”status
Section titled “status”number
Returns
Section titled “Returns”string | Promise<string | null> | null
shapes
Section titled “shapes”shapes:
Record<string,GroupShapeSpec>
Defined in: packages/client/src/circuits/shape-group.ts:25
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/client/src/circuits/shape-group.ts:30
token: () =>
string|Promise<string>
Defined in: packages/client/src/circuits/shape-group.ts:26
Returns
Section titled “Returns”string | Promise<string>