Time API, simular to one in golang standard library.
Attributes
- See also
-
gopherApi#time
- Companion
- object
- Source
- Time.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JVMTime[F]
Members list
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.
Attributes
- Source
- Time.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Types
type for using in select
paterns.
Value members
Abstract methods
Low level interface for scheduler
Concrete methods
return channel, then after duration
ellapses, send signal to this channel.
return channel, then after duration
ellapses, send signal to this channel.
Attributes
- Source
- Time.scala
return future which will be filled after time will ellapse.
create ticker with given duration
between ticks.
create ticker with given duration
between ticks.
Attributes
- See also
-
[gopher.Time.Ticker]
- Source
- Time.scala
Attributes
- 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.
Attributes
- 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.
Attributes
- Source
- Time.scala