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 29534f0 commit 1041519Copy full SHA for 1041519
src/handler/state.jl
@@ -36,7 +36,7 @@ function _dependencies_json(app::DashApp)
36
output = output_string(callback.dependencies),
37
clientside_function = _dep_clientside_func(callback.func),
38
prevent_initial_call = callback.prevent_initial_call,
39
- long = callback.long && (interval = callback.interval)
+ long = callback.long !== false && (interval = callback.long[:interval],)
40
)
41
end
42
return JSON3.write(result)
test/callbacks.jl
@@ -674,5 +674,5 @@ end
674
request = HTTP.Request("GET", "/_dash-dependencies")
675
resp = Dash.HttpHelpers.handle(handler, request)
676
deps = JSON3.read(String(resp.body))
677
- @test deps[1].long
+ @test deps[1].long.interval == 1000
678
0 commit comments