runtimepy
.
mixins
.finalize
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/mixins/finalize.py
A module implementing a class with a simple finalize interface.
Classes
builtins.object
FinalizeMixin
class
FinalizeMixin
(
builtins.object
)
FinalizeMixin
(event: asyncio.locks.Event = None) -> None
A class implementing a simple finalize interface.
Methods defined here:
__init__
(self, event: asyncio.locks.Event = None) -> None
Initialize this instance.
finalize
(self, strict: bool = True) -> None
Finalize this instance.
async
wait_finalized
(self) -> None
Wait for this instance to be finalized.
Readonly properties defined here:
finalized
Determine if this instance is finalized or not.
Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object