diff --git a/stubs/rx/disposables/anonymousdisposable.pyi b/stubs/rx/disposables/anonymousdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/anonymousdisposable.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.disposables.anonymousdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any, Optional + +class AnonymousDisposable(Disposable): + is_disposed: bool = ... + action: Any = ... + lock: Any = ... + def __init__(self, action: Optional[Any] = ...) -> None: ... + def dispose(self) -> None: ... + @classmethod + def empty(cls): ... + @classmethod + def create(cls, action: Any): ...