You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Observables throws an error when trying to map!(any, r, o) where o is a normal Observable and r is of a different observable type R{T} <: AbstractObservable{T}. The root cause is the definition of MapUpdate:
struct MapUpdater{F, T} <: Function
f::F
observable::Observable{T}
end
map!(), map() and connect!() all support AbstractObservables.
Probably, the only thing that would need to be adpated is to change Observable{T} to AbstractObservable{T}.
For my use case that worked, but I may be overlooking something.
The text was updated successfully, but these errors were encountered:
hhaensel
added a commit
to hhaensel/Observables.jl
that referenced
this issue
Jun 14, 2021
This is the PR to JuliaGizmos#72
Currently, Observables throws an error when trying to `map!(any, r, o)` where o is a normal Observable and r is of a different observable type `R{T} <: AbstractObservable{T}`.
As `map!()`, `map()` and `connect!()` all support `AbstractObservables`, this is probably the only place, that needs to be adapted.
Currently, Observables throws an error when trying to
map!(any, r, o)
where o is a normal Observable and r is of a different observable typeR{T} <: AbstractObservable{T}
. The root cause is the definition of MapUpdate:map!()
,map()
andconnect!()
all support AbstractObservables.Probably, the only thing that would need to be adpated is to change
Observable{T}
toAbstractObservable{T}
.For my use case that worked, but I may be overlooking something.
The text was updated successfully, but these errors were encountered: