Concurrent

@native @JSType
trait Concurrent extends Object

Concurrent features targeted at v18, I recall.

class Object
trait Any
class Object
trait Matchable
class Any
trait ReactJS

Value members

Concrete methods

def createMutableSource[S](source: Any, getVersion: Function0[Any]): MutableSource[S]
def useDeferredValue(value: Any, config: DeferredValueConfig): Any
def useMutableSource[S, A](source: MutableSource[S], getSnapshot: Function1[S, A], subscribe: Function2[S, Function0[Unit], Function0[Unit]]): A

subscribe 2nd arg is to be called whenever the value changes and is stable. Last is an unsubscribe for unmounting.

subscribe 2nd arg is to be called whenever the value changes and is stable. Last is an unsubscribe for unmounting.

def useTransition(config: TransitionConfig): Tuple2[Function1[Function0[Unit], Unit], Boolean]

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields