InMemoryLoggedDB.jl/src/dist.jl

8 lines
170 B
Julia
Raw Permalink Normal View History

2020-04-04 22:15:24 +02:00
function update!(table::Table, transactions::RemoteChannel)
while true
t = take!(transactions)
@info "Writing $t"
push!(table, t)
end
end