MCPcopy Index your code
hub / github.com/reactive-python/reactpy / put

Method put

src/py/reactpy/reactpy/core/layout.py:715–718  ·  view source on GitHub ↗
(self, value: _Type)

Source from the content-addressed store, hash-verified

713 self._pending: set[_Type] = set()
714
715 def put(self, value: _Type) -> None:
716 if value not in self._pending:
717 self._pending.add(value)
718 self._loop.call_soon_threadsafe(self._queue.put_nowait, value)
719
720 async def get(self) -> _Type:
721 value = await self._queue.get()

Callers 4

send_coroFunction · 0.80
on_messageMethod · 0.80
_schedule_render_taskMethod · 0.80

Calls

no outgoing calls