The this context for methods of a multi-facet exo kit (defineExoClassKit).
this.state — the sealed object returned by init().
S is ReturnType<init>, typically a plain object.
this.facets — the record of all facet instances in this cohort,
keyed by facet name. Use this.facets.myFacet to access sibling
facets.
No this.self on kits. A kit method belongs to one facet, and
there is no single "self" — instead, each facet is a separate remotable
object. Use this.facets.foo to get the specific facet you need.
For single-facet exos, see ClassContext which provides this.self.
The
thiscontext for methods of a multi-facet exo kit (defineExoClassKit).this.state— the sealed object returned byinit().SisReturnType<init>, typically a plain object.this.facets— the record of all facet instances in this cohort, keyed by facet name. Usethis.facets.myFacetto access sibling facets.No
this.selfon kits. A kit method belongs to one facet, and there is no single "self" — instead, each facet is a separate remotable object. Usethis.facets.footo get the specific facet you need. For single-facet exos, see ClassContext which providesthis.self.