from rx.internal import noop
from . import typing


class Disposable(typing.Disposable):  # pylint: disable=W0223
    """A static helper class for creating disposables."""

    @staticmethod
    def empty() -> 'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(noop)

    @staticmethod
    def create(action) -> 'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)

2d5b0eda8f77e180794bcd0a99e88964d765ee61
<mask token>


class Disposable(typing.Disposable):
    <mask token>
    <mask token>

    @staticmethod
    def create(action) ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)

<mask token>


class Disposable(typing.Disposable):
    <mask token>

    @staticmethod
    def empty() ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(noop)

    @staticmethod
    def create(action) ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)

<mask token>


class Disposable(typing.Disposable):
    """A static helper class for creating disposables."""

    @staticmethod
    def empty() ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(noop)

    @staticmethod
    def create(action) ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)

from rx.internal import noop
from . import typing


class Disposable(typing.Disposable):
    """A static helper class for creating disposables."""

    @staticmethod
    def empty() ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(noop)

    @staticmethod
    def create(action) ->'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)

from rx.internal import noop
from . import typing


class Disposable(typing.Disposable):  # pylint: disable=W0223
    """A static helper class for creating disposables."""

    @staticmethod
    def empty() -> 'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(noop)

    @staticmethod
    def create(action) -> 'Disposable':
        from rx.disposables import AnonymousDisposable
        return AnonymousDisposable(action)
