Page Contents
Home > @loopback/context > Context > isSubscribed
Context.isSubscribed() method
Check if an observer is subscribed to this context
Signature:
isSubscribed(observer: ContextObserver): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
observer | ContextObserver | Context observer |
Returns:
boolean