diff --git a/src/Observables.jl b/src/Observables.jl index 7f4ddd9..6520269 100644 --- a/src/Observables.jl +++ b/src/Observables.jl @@ -4,11 +4,7 @@ module Observables export Observable, on, off, onany, connect!, obsid, async_latest, throttle -if isdefined(Base, :Iterators) && isdefined(Base.Iterators, :filter) - import Base.Iterators.filter -else - import Base.filter -end +import Base.Iterators.filter const addhandler_callbacks = [] const removehandler_callbacks = []