U vâ’iâã@s,ddlmZddlmZGdd„deƒZdS)é)ÚRLock)ÚDisposableBasecs4eZdZdZddœ‡fdd„ Zddœdd„Z‡ZS)ÚBooleanDisposablez7Represents a Disposable that can be checked for status.N)Úreturncsd|_tƒ|_tƒ ¡dS)z:Initializes a new instance of the BooleanDisposable class.FN)Ú is_disposedrÚlockÚsuperÚ__init__©Úself©Ú __class__©úW/opt/alt/python38/lib/python3.8/site-packages/reactivex/disposable/booleandisposable.pyr szBooleanDisposable.__init__cCs d|_dS)zSets the status to disposedTN)rr rrrÚdisposeszBooleanDisposable.dispose)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rÚ __classcell__rrr rrsrN)Ú threadingrZ reactivex.abcrrrrrrÚs