Skip to content

Toast v1.3.3

Compare
Choose a tag to compare
@JaciBrunning JaciBrunning released this 11 May 16:48
· 175 commits to master since this release

+Module Branches
    Modules can now use the annotation-based Branch system. Branches are classes within a module that will only be loaded if a certain module or class is present, meaning Modules have better dependency management.

+Module Console Access
    Modules can now have access to the System.in resource, allowing them to queue the command line for data. When a module requests access to the resource, the CommandBus parser is paused to allow the module to retrieve the data.

+Heartbeat
    The Heartbeat system is a Thread that keeps a timer of 50Hz (20ms) on a constant clock to allow modules to have systems that require a steady timing system. The Heartbeat system will only launch if there are listeners, meaning it won't clog up the system if nothing is using it. Additionally, if the processing in 1 beat is too long (over 20ms), the system will 'skip' the beat and notify all the listeners that a beat was skipped. This allows the system to operate on a constant and reliable clock, always being a modulus of 20ms

~8-Phase Load System
    The LoadPhase system has been changed from 6-Phase to 8-Phase to include the 'Core-Pre' and 'Core-Init' Phases for Core Modules. This also rounds it out to a nice base 8 number, which is nice

~Futures
    The ToastThreadPool now has support for Futures, allowing you to retrieve the data from an execution and/or wait for it to complete