Page Contents

Home > @loopback/context > ContextSubscriptionManager > isSubscribed

ContextSubscriptionManager.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