Unmanaged raw state classes have no contextual information. They may implement this interface to provide an alternate context-aware object for property read, write and validation.

interface Dynamic<O, S> {
    [properties]<This>(this: This, owner: O, session: S): Partial<This>;
}

Type Parameters

Hierarchy (view full)

Methods

Methods

  • Obtain a context-aware property source (and sink). Supervision will read/write properties from here if present. Otherwise they're read from static state as normal.

    Type Parameters

    Parameters

    Returns Partial<This>