Is there a way to make the Deferred.t
sleep for a period of time(seconds). The closest I came up with is Core.Unix.sleep
. However, I assume this makes the whole process sleep rather than just a given Deferred.t
. Is my understanding correct? If so, is there a way to just make a Deferred.t
sleep?
I don’t quite understand what you are trying to do. Are you just looking for a Deferred.t
that will become determined after some amount of time? For that you can use Clock.after, which takes a time span and returns a unit Deferred.t
that becomes determined after that time span.
Yep, thanks. exactly what I was looking for.