Skip to main content

12 docs tagged with "JavaScript"

View all tags

Context and Task

Data Context is an object injected into logic functions during a task, which containes some key components:

Database Agent

Connecting external databases with built-in drivers. Currently the following databases are supported:

File Storage Agent

Accessing and writing remote files. Supports the following protocols/storage:

Payload

Payload is the data sent by triggers as input and is accessible from the context object. Currently there are two payload types:

Quick Start

This quick start will go through a tutorial of building a simple "Hello World" data process in LOC Studio using JavaScript.

Result Agent

Finalise a JSON object as the result data. If the trigger is synchronized API route or message queue, it will be returned to the trigger.