type$

View as MarkdownOpen in Claude
get type$(): Observable<ResourceType>

Observable of the resource type (e.g. 'room', 'subscriber').

type

get type(): ResourceType

Resource type (e.g. 'room', 'subscriber').

Examples

address.type$.subscribe((type) => {
console.log('type:', type);
});