THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class _StartupFeedback: (source)
Constructor: _StartupFeedback(stdout, stderr, frame)
Own the temporary streams and clear the message once, without a thread.
| Method | __init__ |
Initialize inactive startup feedback and its stream proxies. |
| Method | clear |
Clear active feedback and restore the original standard streams. |
| Method | finish |
Retire startup feedback while holding its lock. |
| Method | start |
Display the startup message and install temporary stream proxies. |
| Instance Variable | active |
Active flag used by _StartupFeedback. |
| Instance Variable | frame |
Single-line startup message to display on stderr. |
| Instance Variable | lock |
Lock produced by allocate_lock. |
| Instance Variable | stderr |
Original error stream used to display and clear the message. |
| Instance Variable | stderr |
Stderr proxy produced by _OutputProxy. |
| Instance Variable | stdout |
Original standard output stream to restore after feedback. |
| Instance Variable | stdout |
Stdout proxy produced by _OutputProxy. |
Initialize inactive startup feedback and its stream proxies.
| Parameters | |
stdout:typing.TextIO | Original standard output stream to restore after feedback. |
stderr:typing.TextIO | Original error stream used to display and clear the message. |
frame:str | Single-line startup message to display on stderr. |
| Returns | |
None | Store the streams and prepare their proxies and shared lock. |
Clear active feedback and restore the original standard streams.
Call while holding lock. Suppress display I/O errors and restore only standard streams that still reference this controller's proxies.
| Returns | |
None | Deactivate feedback even if clearing the display fails. |
Retire startup feedback while holding its lock.
| Returns | |
None | Clear active feedback and restore the original streams. |
Display the startup message and install temporary stream proxies.
| Returns | |
None | Activate feedback, replace both streams, and flush the message. |