GLib.Source.remove_by_user_data
function remove_by_user_data(user_data: void): Boolean { // Gjs wrapper for g_source_remove_by_user_data() }
Removes a source from the default main loop context given the user data for the callback. If multiple sources exist with the same user data, only one will be destroyed.
- user_data
the user_data for the callback.
- Returns
true if a source was found and removed.