unregister

abstract fun unregister(waitCommandId: String): WaitStrategy?

Unregisters a wait strategy by its command ID. Similar to Map.remove - removes and returns the strategy if it exists.

Return

The removed wait strategy, or null if none was registered for this ID.

Parameters

waitCommandId

The command ID of the wait strategy to remove.

See also