Cloud

Cloud:new()

Description

Create a cloud data pipe instance.

Syntax

Cloud:new(CloudID)

Parameters

CloudID: A CloudID represents a dataset either send to cloud for storing or receive from cloud for execution an action. It’s a unique id, you can allocate within the WebIDE.

Returns

A Cloud object.

Example

–CloudID can be allocated in the Web IDE
cloud=Cloud:new("CloudID")
cloud:append(78.8)

See also

– Cloud:append()


Cloud:append()

Description

Post data to the Node Cloud service.

Syntax

cloud:append(value)

Parameters

value: the value need to store in the Cloud.

Returns

nil

Example

–CloudID can be allocated in the Web IDE
cloud=Cloud:new("CloudID")
cloud:append(78.8)

See also

– Cloud:new()
Getting started with Node WebIDE