MongoDB\Driver\Monitoring\removeSubscriber
Unregisters an existing monitoring event subscriber
&reftitle.description;
voidMongoDB\Driver\Monitoring\removeSubscriber
MongoDB\Driver\Monitoring\Subscribersubscriber
Unregisters an existing monitoring event subscriber from the driver.
Unregistered subscribers will no longer be notified of monitoring events.
If the object is not registered, this function is a no-op.
&reftitle.parameters;
subscriber (MongoDB\Driver\Monitoring\Subscriber)
A monitoring event subscriber object to unregister.
&reftitle.returnvalues;
&return.void;
&reftitle.errors;
&mongodb.throws.argumentparsing;
&reftitle.seealso;
MongoDB\Driver\Monitoring\Subscriber
MongoDB\Driver\Monitoring\CommandSubscriber
MongoDB\Driver\Monitoring\addSubscriber