Mutex

japgolly.scalajs.react.callback.AsyncCallback$.Mutex
final class Mutex

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply[A](ac: AsyncCallback[A]): AsyncCallback[A]

Wrap a AsyncCallback so that it executes in the mutex.

Wrap a AsyncCallback so that it executes in the mutex.

Note: THIS IS NOT RE-ENTRANT. Calling this from within the mutex will block.

Attributes