set_stream

madspace.set_stream(stream: SupportsInt | None) → None

Set the stream returned by caller_stream for this thread.