Const
Mimics the c# using IDisposable. Always runs the specified 'thenOnDisposeRunFunc' after main function 'runMainFunc' has finished. UseFull for cleaning up, or to make sure a flagState always are set back to default, even if there are exceptions.
Generated using TypeDoc
Mimics the c# using IDisposable. Always runs the specified 'thenOnDisposeRunFunc' after main function 'runMainFunc' has finished. UseFull for cleaning up, or to make sure a flagState always are set back to default, even if there are exceptions.