MCPcopy
hub / github.com/reflex-dev/reflex / bump_counter_yield

Method bump_counter_yield

tests/integration/test_linked_state.py:122–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120
121 @rx.event
122 async def bump_counter_yield(self):
123 ss = await self.get_state(SharedState)
124 for _ in range(5):
125 ss.counter += 1
126 yield
127
128 @rx.event
129 def reset_self(self):

Callers

nothing calls this directly

Calls 1

get_stateMethod · 0.45

Tested by

no test coverage detected