ProtoFlux:Write Cloud Variable: Difference between revisions

From Resonite Wiki
m 989onan moved page Write Cloud Variable`1 (ProtoFlux Node) to Write Cloud Variable`1 (ProtoFlux): Change to ProtoFlux like Prime said.
mNo edit summary
Line 1: Line 1:
[[Category:ProtoFlux:Variables:Cloud]]
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Write Cloud Variable`1
|Name=Write Cloud Variable
|Category=Cloud
|Inputs=
|Inputs=
[
[
Line 17: Line 16:
]
]
|}}
|}}
== Inputs == <!--T:3-->
== Inputs == <!--T:3-->


Line 45: Line 43:
=== OnRequest (AsyncImpulse) ===
=== OnRequest (AsyncImpulse) ===
An async impulse sent when the node has sent the request for the value to be written. This can be used to chain more asynchronous calls together to happen in parallel like more writing to other variable definitions.
An async impulse sent when the node has sent the request for the value to be written. This can be used to chain more asynchronous calls together to happen in parallel like more writing to other variable definitions.
[[Category:ProtoFlux:Variables:Cloud]]

Revision as of 02:44, 14 January 2024

Write Cloud Variable
*
OnRequest
Path
OnDone
VariableOwnerId
OnFail
Value
Cloud

Inputs

* (AsyncImpulse)

Will Write the cloud variable upon impulse. Is restricted by cloud variable rate limits.

Path (String)

The definition owner + "." + The variable name.
Examples: "G-Resonite.UserSettings.Color.Primary", "U-ProbablePrime.testing.bool"

VariableOwnerId (String)

The id of the person writing a value to the variable specified in Path.
Examples: "U-Frooxius", "U-Nexulan"

Value (Generic)

The value you want to write to this cloud variable.
Examples: colorX, float3, String, DateTime.

Outputs

OnDone (Impulse)

The impulse during which Value will have written the data.

OnFail (Impulse)

The impulse caused if the variable hit an error. including but not limited to: Invalid Path, improper permissions for the variable definition in Path, Invalid userID.

OnRequest (AsyncImpulse)

An async impulse sent when the node has sent the request for the value to be written. This can be used to chain more asynchronous calls together to happen in parallel like more writing to other variable definitions.