class documentation

class MethodSyncOrAsyncNoParam(Protocol[ProtocolSelfType, ProtocolReturnType]): (source)

View In Hierarchy

Generic callable type.

Method __call__ Generic callable type callback.
def __call__(self, __self: ProtocolSelfType) -> ProtocolReturnType | Awaitable[ProtocolReturnType]: (source) ΒΆ

Generic callable type callback.