Method Write
Write(string, Array, bool, bool)
Write the data to the file system and inform the consumers for uploading it to the cloud.
Declaration
public static bool Write(string path, Array data, bool uploadSynchronously = false, bool isArtifact = true)
Parameters
Type | Name | Description |
---|---|---|
string | path | Full path to the file. |
Array | data | An array of data |
bool | uploadSynchronously | boolean indicating if the upload needs to happen synchronously. |
bool | isArtifact | A flag indicating if the data being written is an artifact or not. |
Returns
Type | Description |
---|---|
bool | boolean indicating if the write was successful |