|Products . jScripter . Deployment||Sign In|
Terms and definitions
There is a special code called library. It can be located either in local file library.js or in control panel (with corresponding checkbox enabled).
The library code is executed once before every worker. For example:
When executed, the output will be:
Actually, the output may be slightly different, because workers are executed in separate threads, and there is no way to learn the execution sequence. So, the output may look like this:
Of cause, the above library functionality might be achived in another way:
Both workers and application has tags.
The general rule is: the application runs the worker with the same tag name.
There are special tags though:
Every application will request workers from server every 10 minutes.
If worker was modified in control panel, it will be automatically restarted on all corresponding devices.
New workers may be executed automatically when they are created.
This functionality does not work for workers executed from command line.
|mobile version||Copyright © 1999-2023 SoftCab, Inc. All Rights Reserved ·|