Datastore¶
Datastore is an object that represent datastore connection.
Properties¶
- Key:
string
Methods¶
GetAsync(key: string) → any¶
Retrieves a value from the datastore asynchronously using the specified key.
SetAsync(key: string, value: any) → nil¶
Stores a value in the datastore asynchronously using the specified key.
RemoveAsync(key: string) → nil¶
Removes a value from the datastore asynchronously using the specified key.
Disconnect() → nil¶
Disconnect this datastore connection, this should be called when you finish using the datastore.