Description |
Run creates a new instance of the Jarvis class using Jarvis.New and then calling the instance's Start method to start it. |
Syntax |
(j (rc msg))←Jarvis.Run args |
args |
One of:'' - create a Jarvis instance with the default configuration- a character vector full path name to one of
- a JSON or JSON5 file containing a JarvisConfig definition
- a file containing a namespace or class script that will be loaded as CodeLocation
- a folder containing files with code that will be loaded into
j.CodeLocation
- a reference to a namespace containing named Jarvis configuration settings
- a vector of up to 4 positional settings
|
(j (rc msg) |
j is a reference to the newly created Jarvis instance created by New
rc and msg are the return code and message from Start |
Examples |
(j (rc msg))←Jarvis.New 5000 #.MyEndpoints |
Notes |
Run was primarily developed as a shortcut method for demos. The recommended technique is to call New , then make any additional configuration changes, and then call Start and check rc to verify that Jarvis was started. |