git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 1be1cba2ec920cea5294cc3638577a736d106be5

Files: 1be1cba2ec920cea5294cc3638577a736d106be5 / docs / scheduler.md

3151 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

constructor

scheduler.js:10-19

The Scheduler manages the run cycle of Actors and figures out which order they should run in

lock

scheduler.js:26-28

locks the scheduler from clearing waits untill the lock is resolved

Parameters

Returns function the resolve function to call once it to unlock

update

scheduler.js:34-39

updates an instance with a new tick count

Parameters

getInstance

scheduler.js:51-53

returns an Actor instance

Parameters

Returns Object

done

scheduler.js:59-63

deletes an instance from the scheduler

Parameters

wait

scheduler.js:72-86

returns a promise that resolves once all containers have reached the given number of ticks

Parameters

Returns Promise

leastNumberOfTicks

scheduler.js:92-101

returns the oldest container's ticks

Parameters

Returns integer

Built with git-ssb-web