WebReflection / coincident

An Atomics based Proxy to simplify, and synchronize, Worker related tasks.
MIT License
203 stars 3 forks source link

Allowed transfer buffers "edge" case #2

Closed WebReflection closed 1 year ago

WebReflection commented 1 year ago

This MR allows specific buffers to be transferred directly to the main thread.

coincident(self).doThingWithBuffers(
  obj,
  coincident.transfer(obj.x, obj.y)
);