What a native append did: "open" added the text apart from its
last held characters (code points), "stopped" added nothing because a
user stopped the stream, "closed" added nothing because it is closed
or expired.
Attributes#
| Attribute | Type | Description |
|---|---|---|
state | Literal['open', 'stopped', 'closed'] | |
held | int |
Functions#
__init__#
__init__(state, held) -> None| Parameter | Type | Description |
|---|---|---|
state | Literal['open', 'stopped', 'closed'] | |
held | int |