indigoextras.jobs.WorkSchedule
See theWorkSchedule companion object
Represents an Actor's work schedule
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Give the job currently being worked on
Give the job currently being worked on
Attributes
-
Returns
-
Option[Job]
The significance of this function is that any local jobs are lost, but any global jobs are returned to the JobMarket.
The significance of this function is that any local jobs are lost, but any global jobs are returned to the JobMarket.
Attributes
-
Returns
-
An Outcome of an empty work schedule of the same type.
When supplied with a global event, creates an outcome of the updated work schedule.
When supplied with a global event, creates an outcome of the updated work schedule.
The update function coordinates all of the work for this worker, creating work, finding jobs, working on tasks etc.
Attributes
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product