Pass-through wire-shape escape hatch. Use for any Connect block type the typed layer doesn't model yet, the wire JSON round-trips losslessly even without typed setters.
Factories
UnknownBlock
UnknownBlock(type: String, id: String) -> UnknownBlockHandle
Construct an unknown block with the given wire type + id.
| Parameter | Type | Required | Description |
type | String | yes | Wire Type string for the unknown block. |
id | String | yes | Wire identifier. |
Methods
overwrite_parameters
overwrite_parameters(value: Map) -> UnknownBlockHandle
Set the wire Parameters payload.
| Parameter | Type | Required | Description |
value | Map | yes | Parameter blob, emitted as the wire Parameters object. |
raw_transitions
raw_transitions(value: Map) -> UnknownBlockHandle
Set the wire Transitions payload.
| Parameter | Type | Required | Description |
value | Map | yes | Transitions blob, emitted as the wire Transitions object. |
next
next(target: Handle) -> UnknownBlockHandle
Wire the universal NextAction transition.
| Parameter | Type | Required | Description |
target | Handle | yes | Block to route to. |
on_error_raw
on_error_raw(error_type: String, target: Handle) -> UnknownBlockHandle
Append a raw error handler entry, used when the error type isn't typed.
| Parameter | Type | Required | Description |
error_type | String | yes | Wire error-type string. |
target | Handle | yes | Block to route to on this error. |