git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 4d548116a6a4d4ceeda766ea686a328148cb029b

Files: 4d548116a6a4d4ceeda766ea686a328148cb029b / docs / scheduler.md

3149 bytesRaw

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

Table of Contents

constructor

scheduler.js:14-20

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

lock

scheduler.js:27-29

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:35-40

updates an instance with a new tick count

Parameters

getInstance

scheduler.js:52-54

returns an Actor instance

Parameters

Returns Object

done

scheduler.js:60-64

deletes an instance from the scheduler

Parameters

wait

scheduler.js:73-83

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

Parameters

Returns Promise

leastNumberOfTicks

scheduler.js:89-98

returns the oldest container's ticks

Parameters

Returns integer

Built with git-ssb-web