std-mel 0.10.1

Mélodium standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

use root/engine::Engine
use root/engine::ready

/**
  Trigger at startup of engine.

  When program is ready to run, `trigger` is emitted.
 */
treatment startup()
  model engine: Engine()
  output trigger: Block<void>
{
    ready[engine=engine]()

    ready.trigger -> Self.trigger
}