Create a service for the specific worker
Generates a new function. The function name is based on the suggested name. If the suggested name is not usable a new, based on the suggestion, will be created
OptionalmoduleName: stringExperimentalGenerates a new Logic Program. The program name is based on the suggested name. If the suggested name is not usable a new, based on the suggestion, will be created
Promise<URLogicProgram> A promise that resolves to the created logic program.
Generates a new module. The module name is based on the suggested name. If the suggested name is not usable a new, based on the suggestion, will be created
Generates a new variable. The variable name is based on the suggested name. If the suggested name is not usable a new, based on the suggestion, will be created
The intended name for the variable, will be suffixed if the name is already taken
The ValueType of the variable
Optionalblacklist: string[]Optional parameter to provide additional names which shouldn't be used.
Get a list of available functions for the given module name. If no name provided, functions for the global scope
OptionalmoduleName: stringGet functions map. Contains a list of functions for each module name. Note: Empty string is the global scope.
Optionalfilter: { filterAsync?: boolean }Filter on if the function is async or not is async or not
ExperimentalReturn a list of available Logic Program names
Promise<Array
Get the URVariable with the given name
Name of the variable to get
URVariable with the given name
Get a list of available variables
Returns a list of the global variables as a stream.
Observable of global variables object
Return true if the function is a thread
The name of the function
OptionalmoduleName: stringThe module of the symbol if defined
Boolean describing if the function is a thread
ExperimentalReturns true if the provided name matches a registered Logic Program.
The name of the Logic Program to check for registration.
Promise
Return true if the provided name is a registered name of the given type.
OptionalmoduleName: stringOptionalunique: booleanReturn true if the declaring program node is suppressed
The name of the symbol
OptionalmoduleName: stringThe module of the symbol if defined
Boolean describing if the declaring node is suppressed
name of the variable being validated
OptionalacceptedTypes: string[]an optional array of valid type strings, e.g., float.
true if the variable is registered not suppressed, and is of a valid value type
returns a reply promise to the specified message
The type of message being sent
Optionaldata: anyThe message data
returns an observable that will emit any messages replied to the specified message
The type of message being sent
Optionaldata: anyThe message data
returns a reply promise for the requested message
The type of message being sent
Optionaldata: anyThe message data
returns an observable that will emit any messages replied to the requested message
The type of message being sent
Optionaldata: anyThe message data
Get an observable of available variables
Service for generating and getting reserved variable names
Deprecated
Use dedicated services instead:
VariableService,FunctionService,ModuleService.