Skip to content

Commit

Permalink
Update base.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
hdavid16 authored Jul 9, 2023
1 parent 4f98ac3 commit 61f0693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function remove_callback(cb::Function, ev::AbstractEvent)
i != 0 && deleteat!(ev.bev.callbacks, i)
end

function schedule(ev::AbstractEvent, delay::Number=0.0; priority::Number=0.0, value::Any=nothing)
function schedule(ev::AbstractEvent, delay::Number=0; priority::Number=0, value::Any=nothing)
state(ev) === processed && throw(EventProcessed(ev))
env = environment(ev)
bev = ev.bev
Expand Down

0 comments on commit 61f0693

Please sign in to comment.