Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public onCapabilityUnregister(capability: Provider): void {
const unregisterCommand: ProviderUnregisterCommand = {type: capability.type, qualifier: capability.qualifier};
Beans.get(MessageClient).publish$(Topics.UnregisterProvider, unregisterCommand).subscribe();
}
}