Skip to content

Commit

Permalink
Merge pull request #187 from jaakkor2/patch-1
Browse files Browse the repository at this point in the history
Update core.jl: warn() -> @warn
  • Loading branch information
SimonDanisch committed Sep 24, 2018
2 parents 3365626 + a99f216 commit 39b0fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.jl
Expand Up @@ -269,8 +269,8 @@ end
function async_push!(n, x, onerror=print_error)
taken = Base.n_avail(_messages)
if taken >= CHANNEL_SIZE[]
warn("Message queue is full. Ordering may be incorrect. "*
"Channel size can be increased by setting `ENV[\"REACTIVE_CHANNEL_SIZE\"] = ...` before `using Reactive`.")
@warn "Message queue is full. Ordering may be incorrect. "*
"Channel size can be increased by setting `ENV[\"REACTIVE_CHANNEL_SIZE\"] = ...` before `using Reactive`."
@async put!(_messages, Message(n, x, onerror))
else
put!(_messages, Message(n, x, onerror))
Expand Down

0 comments on commit 39b0fb9

Please sign in to comment.