Intermact API Reference / @intermact/render-three / handleComputeMessages
Function: handleComputeMessages()
handleComputeMessages(
scope):void
Defined in: worker/entry.ts:21
Install the compute-job handler on a worker scope (design.md §15.2 #6). In a real Worker entry module call handleComputeMessages(self). Each request runs the pure kernel and posts back a typed ComputeResponse, transferring result buffers to avoid a copy. Errors are reported, never thrown across the boundary.
Parameters
scope
Returns
void