Class NoOpAwaitable

An awaitable object that always returns None.

Declaration

class NoOpAwaitable
source link

Documentation

Useful to return from a method that can be called in both asynchronous and
synchronous contexts

Methods