vkpore.utils module

Useful helpers

vkpore.utils.read_only_properties(*attrs)[source]

Make passed attributes read-only

vkpore.utils.wait_with_stopped(awaitable: Awaitable[T_co], stopped: Awaitable[T_co], loop=None)[source]

Wait for awaitable or stopped to complete. If stopped was completed - awaitable is cancelled and None is returned. Otherwise return awaitable’s result.