Class: Async::Barrier

Inherits:
Object
  • Object
show all
Defined in:
sig/_private/async.rbs

Instance Method Summary collapse

Constructor Details

#initializeBarrier

Returns a new instance of Barrier.



8
# File 'sig/_private/async.rbs', line 8

def initialize: () -> void

Instance Method Details

#async { ... } ⇒ Object

Yields:

Yield Returns:

  • (void)

Returns:

  • (Object)


10
# File 'sig/_private/async.rbs', line 10

def async: () { () -> void } -> untyped

#waitvoid

This method returns an undefined value.



12
# File 'sig/_private/async.rbs', line 12

def wait: () -> void