IBotDataStore<T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface IBotDataStore<T>
type IBotDataStore<'T> = interface
Public Interface IBotDataStore(Of T)
Type Parameters
- T
- Derived
Methods
FlushAsync(IAddress, CancellationToken) | |
LoadAsync(IAddress, BotStoreType, CancellationToken) |
Return BotData with Data pointing to a JObject or an empty BotData() record with ETag:"" |
SaveAsync(IAddress, BotStoreType, T, CancellationToken) |
Save a BotData using the ETag. Etag consistency checks If ETag is null or empty, this will set the value if nobody has set it yet If ETag is "*" then this will unconditionally set the value If ETag matches then this will update the value if it is unchanged. If Data is null this removes record, otherwise it stores |