Time API, simular to one in golang standard library.
- See also:
gopherApi#time
- Companion:
- object
- Source:
- Time.scala
Type members
Classlikes
ticker which hold channel with expirable tick messages and iterface to stop one.
ticker which hold channel with expirable tick messages and iterface to stop one.
- Source:
- Time.scala
Types
type for using in select
paterns.
type for using in select
paterns.
- See also:
[gopher.Select]
- Source:
- Time.scala
Value members
Abstract methods
Concrete methods
return channel, then after duration
ellapses, send signal to this channel.
return channel, then after duration
ellapses, send signal to this channel.
- Source:
- Time.scala
return future which will be filled after time will ellapse.
return future which will be filled after time will ellapse.
- Source:
- Time.scala
create ticker with given duration
between ticks.
create ticker with given duration
between ticks.
- See also:
[gopher.Time.Ticker]
- Source:
- Time.scala
synonim for await(asleep(duration))
. Should be used inside async block.
synonim for await(asleep(duration))
. Should be used inside async block.
- Source:
- Time.scala
create ticker. When somebody read this ticker, than one receive duration messages. When nobody reading - messages are expired.
create ticker. When somebody read this ticker, than one receive duration messages. When nobody reading - messages are expired.
- Source:
- Time.scala