class Concurrent::Collection::CopyOnWriteObserverSet

def notify_and_delete_observers(*args, &block)

Experimental RBS support (using type sampling data from the type_fusion project).

def notify_and_delete_observers: (*Array[] args, ) -> Concurrent::Collection::CopyOnWriteObserverSet

This signature was generated using 1 sample from 1 application.

Returns:
  • (CopyOnWriteObserverSet) - self

Parameters:
  • args (Object) -- arguments to be passed to each observer
def notify_and_delete_observers(*args, &block)
  old = clear_observers_and_return_old
  notify_to(old, *args, &block)
  self
end