C# Class Rocket.Chat.Net.Driver.StreamCollectionDatabase

Inheritance: IStreamCollectionDatabase
Datei anzeigen Open project: RocketChat/Rocket.Chat.Net

Public Methods

Method Description
TryGetCollection ( string collectionName, IStreamCollection &collection ) : bool
WaitForObjectInCollectionAsync ( string collectionName, string id, CancellationToken token ) : Task

Private Methods

Method Description
GetOrAddCollection ( string collectionName ) : IStreamCollection

Method Details

TryGetCollection() public method

public TryGetCollection ( string collectionName, IStreamCollection &collection ) : bool
collectionName string
collection IStreamCollection
return bool

WaitForObjectInCollectionAsync() public method

public WaitForObjectInCollectionAsync ( string collectionName, string id, CancellationToken token ) : Task
collectionName string
id string
token System.Threading.CancellationToken
return Task