We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08aeec3 commit c818b1fCopy full SHA for c818b1f
src/scope.jl
@@ -333,7 +333,10 @@ end
333
334
(s::SyncCallback)(xs...) = s.f(xs...)
335
"""
336
-Set observable without synchronizing with the counterpart on the browser
+Set observable without synchronizing with the counterpart on the browser.
337
+
338
+This is mostly used to update observables in response to updates sent from th
339
+browser (so that we aren't sending the same update *back* to the browser).
340
341
function set_nosync end
342
@@ -346,6 +349,7 @@ if isdefined(Observables, :setexcludinghandlers)
346
349
else
347
350
# Observables >=0.4
348
351
function set_nosync(ob, val)
352
+ Observables.setexcludinghandlers!(ob, val)
353
for f in listeners(ob)
354
if !(f isa SyncCallback)
355
Base.invokelatest(f, val)
0 commit comments