A value, and when it arrived (epoch milliseconds).
Attributes#
| Attribute | Type | Description |
|---|---|---|
value | = value | |
waiting | = waiting | |
timestamp | = now_millis() if timestamp is None else timestamp |
Functions#
__init__#
__init__(value, waiting=False, timestamp=None) -> None| Parameter | Type | Description |
|---|---|---|
value | A_co | |
waiting | bool = False | |
timestamp | int | None = None |
def __init__(self, value: A_co, waiting: bool = False, timestamp: int | None = None) -> None:
self.value = value
self.waiting = waiting
self.timestamp = now_millis() if timestamp is None else timestamp