Method ADT.TreeScheduler()->add()


Method add

variant Consumer add(int|float weight, mixed val, Consumer parent)

Description

Create a Consumer depending on parent with the weight weight for the value val, and add it to the Scheduler.