Database Agent - JS/TS
Read and write an external database server.
Read and write an external database server.
This is the docs for FST Network's LOC Logic SDK for JavaScript and TypeScript, a helper package and client interface for JS/TS logic.
Read and write the event store.
Read and write an external file server.
Send HTTP request to a HTTP endpoint and fetch the response.
The logic payload type when a task is invoked by an API Route trigger.
Read and write value in local storage.
Write a log.
A logic context object would be passed to LOC logic during execution, which contains the following important data:
If an unhandled error had been thrown in the task, an error object would be passed to the logic and all subsequential ones. The object is called a Railway Error.
Read logic variables (environment variables of a logic in a data process).
Send email to a email server.
The logic payload type when a task is invoked by a Message Queue (MQ) trigger.
| Parameter | Type | Description |
| Parameter | Description |
| Parameter | Type | Description |
A payload in logic is a object containing metadata and incoming data from a LOC trigger (for example, an API route).
SDK for JS/TS v0.10.0
Finalise task result in aggregator logic.
Read and write value in session storage.
A task object contains task and execution metadata.