RedisTopicParticipantsCacheSetTopicParticipantsAsync - метод

Stores topic participants in the cache.

Definition

Пространство имён: Tessa.Forums
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
public ValueTask SetTopicParticipantsAsync(
	Guid topicID,
	TopicParticipantList topicParticipants,
	CancellationToken cancellationToken = default
)

Параметры

topicID  Guid
Topic identifier.
topicParticipants  TopicParticipantList
Object containing direct topic participants and participants from roles separately.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

ValueTask
Async task.

Реализации

ITopicParticipantsCacheSetTopicParticipantsAsync(Guid, TopicParticipantList, CancellationToken)

Заметки

Default implementation stores result for a limited time only.

См. также