Unregister Flag Callback
Signature
bool unregisterFlagCallback(string name, function handler)Description
Unregisters a handler, preventing it from being executed on future changes to the specified flag.
Returns whether the operation was successful (true) or not (false).
Returns true if the flag was created or already existed or false once the wait time is exceeded.
Arguments
Name
The name of the flag to unregister.
Handler
The callback function of the flag.
Notes
Throws an error if flag was not created, has no registered callback or the function does not match.
Last updated