API / @xmachines/play-dom / PassOptions
Defined in: @xmachines/json-render-dom
The options of ValidationRegistry.startPass.
Properties
| Property | Type | Description | Defined in |
|---|
batch? | "microtask" | "task" | How long the pass holds the join open when it ends. "microtask", the default, is the rule of a write of the store: react commits such a write in a microtask, so a pass after an await is a new one. "task" is the rule of a new spec from the host: react batches such renders to the end of the task, also across an await. | - |
join? | boolean | false starts a new pass, also where the pass could join. | - |