Is there a way to define some axon code that can run on startup when using Haxall?
I was thinking that there might be something to tie into via the task framework that could fire on steady state to run some code. Ultimate goal is just to have an axon function run each time on startup.
Brian FrankSat 7 Jun
In Fantom you typically do that via your HxLib/Ext via the onStart. If its Axon then the best way to fake it out is to schedule a message to yourself every x minutes, and then use a task local to keep a flag if you are just starting up
Nick Sexson Sat 7 Jun
Is there a way to define some axon code that can run on startup when using Haxall?
I was thinking that there might be something to tie into via the
task
framework that could fire on steady state to run some code. Ultimate goal is just to have an axon function run each time on startup.Brian Frank Sat 7 Jun
In Fantom you typically do that via your HxLib/Ext via the onStart. If its Axon then the best way to fake it out is to schedule a message to yourself every x minutes, and then use a task local to keep a flag if you are just starting up