Callable

Standard library class internal.core.Callable View source
class Callable
@tuple
class Callable[T, TR]
Fields 4
fn Function[Ptr[u8], T, TR]
data Ptr[u8]
T type
TR type
Constructors 4
__new__
__new__(fn: Function[Ptr[u8], T, TR], data: Ptr[u8])
__new__
@overload
__new__(fn: Function[Ptr[u8], T, TR], data: Partial[M, PT, K, F], T: type, TR: type, M: Literal[str], PT: type, F: type, K: type)
__new__
@overload
__new__(fn: Function[Ptr[u8], T, TR], data: Function[T, TR])
__new__
@overload
__new__(fn: Function[T, TR])
Special methods 1
__call__
__call__(self, *args)