Notifications
Clear all

[Closed] Remove Callbacks with a undefined ID name

for example:

callbacks.removeScripts id:#PropertyParameters

i tried any other id name not register before.but it always return OK.
who can tell me the Mechanism about this?
anything will be done in backstage?
is’it the same as remove callbacks without argument?
:banghead:

3 Replies

there is no built-in option to unregister only callbacks with no id specified.
the only way i see is to unregister all, and register back all callbacks that have ids

how to do it? unfortunately the only way i know is to collect all using callbacks.show(), and parsing the result to get an info about currently registered callbacks

1 Reply
(@fusionyuan)
Joined: 10 months ago

Posts: 0

so you meaning that
remove callbacks with no id specified is the same as remove all?
may be right.i had tried what you said.

it’s not the same.ALL means ALL. but after that you can register again all callbacks you need