| |||||||||||||
| Products . jScripter . Deployment | Sign In | |||||||||||
Terms and definitions
Source code
The javascript source code may be located either locally (see command line) or in control panel Libarary
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: Library:
Worker #1:
Worker #2:
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:
Tags
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:
Remote deployment
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. See also
| |||||||||||||
mobile version | Copyright © 1999-2024 SoftCab, Inc. All Rights Reserved · |