class · System.Reactive

Reactive

public class System.Reactive.Reactive : System.Any
Tipo
class
Espacio de nombres
System.Reactive
Ensamblado
System.Core
Acceso
public, static, abstract
Archivo fuente
Reactive.ant

Herencia

Clases base
Any Reactive

Métodos

static method Watch(body: func<> : void) -> System.Reactive.Effect
#

static

Runs body now, and again whenever a reactive value it read changes.

static method Batch(body: func<> : void) -> void
#

static

Runs body; the effects its changes trigger run once each when it is done.

static method Schedule(effect: System.Reactive.Effect) -> void
#

static

Runs an effect now, or once at the end of the batch in progress.

static method Flush() -> void
#

static

Campos

static field Current: System.Reactive.Effect?
#

static

The effect running now (what a Source being read should track), or null.

Miembros privados e internos (3)

static field depth: i32
#

private static

static field pending: System.List<System.Reactive.Effect?>
#

private static

static method Refresh(tracker: System.Reactive.Effect) -> void
#

internal static

Computes a lazy effect now, also inside a batch: a read of a computed sees the current values, not what it kept before the batch changed something it depends on. One scheduled in the batch is done with (it does not go stale again when the batch ends).

Miembros heredados (5)

Código fuente

Reactive en Larva HIR, descompilado a partir de su Larva HIR.

System.Reactive.Reactive.hir
public class System.Reactive.Reactive : System.Any
{
    static field depth: i32
    static field pending: System.List<System.Reactive.Effect?>
    // The effect running now (what a Source being read should track), or null.
    static field Current: System.Reactive.Effect?
    // Runs `body` now, and again whenever a reactive value it read changes.
    static method Watch(body: func<> : void) -> System.Reactive.Effect
    // Runs `body`; the effects its changes trigger run once each when it is done.
    static method Batch(body: func<> : void) -> void
    // Runs an effect now, or once at the end of the batch in progress.
    static method Schedule(effect: System.Reactive.Effect) -> void
    // Computes a lazy effect now, also inside a batch: a read of a computed sees the current values, not what it
    // kept before the batch changed something it depends on. One scheduled in the batch is done with (it does
    // not go stale again when the batch ends).
    static method Refresh(tracker: System.Reactive.Effect) -> void
    static method Flush() -> void
}
Esc