JobMarket

final case class JobMarket(availableJobs: List[Job]) extends SubSystem

The JobMarket is a subsystem that manages a global pool of available jobs.

Not all jobs are available to all workers however.

All interaction with the job market is done by a series of events.

Value parameters:
availableJobs

Jobs currently available for allocation to workers.

Companion:
object
trait Serializable
trait Product
trait Equals
trait SubSystem
class Object
trait Matchable
class Any

Type members

Value members

Concrete methods

def present(frameContext: SubSystemFrameContext, jobs: List[Job]): Outcome[SceneUpdateFragment]
def update(frameContext: SubSystemFrameContext, jobs: List[Job]): JobMarketEvent => Outcome[List[Job]]

Inherited methods

Inherited from:
Product

Concrete fields

val eventFilter: GlobalEvent => Option[JobMarketEvent]
val initialModel: Outcome[List[Job]]