Table of Contents

Method SetupAsync

Namespace
WhalesSecret.TradeScriptLib
Assembly
WhalesSecret.TradeScriptLib.dll

SetupAsync()

Method that is called exactly once after user request to load a trade script via the front-end application.

When this method returns false, trade script is not loaded at all as it is considered to be a fatal error during trade script initialization.

Task<bool> SetupAsync()

Returns

Task<bool>

true if setup procedure succeeds, false otherwise.

Remarks

To clarify it further, this method will NOT be called again when a trade script instance is run with some parameters.