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

Method set_callback

docs/docs_app/examples.py:149–150  ·  view source on GitHub ↗
(self, function: Callable[[str], None])

Source from the content-addressed store, hash-verified

147 self._max_lines = max_lines
148
149 def set_callback(self, function: Callable[[str], None]) -> None:
150 self._callback = function
151
152 def getvalue(self) -> str:
153 return "".join(self._lines)

Callers 1

PrintViewFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected