gobj_unsubscribe_list()
#
Removes a list of event subscriptions from their respective publishers, optionally forcing the removal of hard subscriptions.
Prototype
int gobj_unsubscribe_list(
json_t *dl_subs, // owned
BOOL force // delete hard_subscription subs too
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A JSON array containing the subscriptions to be removed. Each element represents a subscription. |
|
|
If set to |
Return Value
Returns 0
upon successful removal of the subscriptions.
Notes
Each subscription in dl_subs
is checked and removed from both the publisher’s and subscriber’s subscription lists.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples