CountDownLatch

japgolly.scalajs.react.callback.AsyncCallback$.CountDownLatch
final class CountDownLatch(count: Int, barrier: Barrier)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

inline def await: AsyncCallback[Unit]
inline def isComplete: CallbackTo[Boolean]
def pending: CallbackTo[Int]

Concrete fields

Decrements the count of the latch, releasing all waiting computations if the count reaches zero.

Decrements the count of the latch, releasing all waiting computations if the count reaches zero.

Attributes