#gmsv_mongo Documentation

1 messages · Page 1 of 1 (latest)

patent sinew
#

async operations?

spring lichen
#

seems pretty useless without async operations yeah

maiden holly
patent sinew
maiden holly
#

(I'll try my best)

maiden holly
#

without any lags

patent sinew
#

that async?

maiden holly
#

yea

patent sinew
#

pog then

#

will sure be using this then lmao

maiden holly
#

Its the same method that billy does in his file async write module

patent sinew
#

are you providing a coroutine-compatible api though

#
function sleep(wait)
  local t = coroutine.running()
  timer.Simple(wait, function() coroutine.resume(t) end)
  return coroutine.yield()
end

coroutine.wrap(function()
  print("at launch")
  sleep(1)
  print("in a second")
end)()

basically this

#

abstraction of them callbacks that allows you to do things without building pyramids

maiden holly
#

Not yet, but might be a good thing to add

patent sinew