responses(for:)
Registers the topic type with the system and returns an asynchronous sequence of responses.
Declaration
final func responses<Topic>(for topicType: Topic.Type) -> some AsyncSequence<PermissionResponse<Topic>, Never> where Topic : QuestionTopic
Parameters
- topicType:
The type of the topic to register.