Class: Composite
devtools.Composite
The Composite class provides APIs for managing composites (sets of Model streams) through their
development lifecycle, including the creation of new Models, import and export of existing
composites encoded as JSON, and compilation to the runtime format used by the
ComposeClient class
.
Composite instances are immutable, so methods affecting the contents of the internal composite definition will return new instances of the Composite class.
Composite class is exported by the devtools
module.
import { Composite } from '@composedb/devtools'
Constructors
constructor
• new Composite(params
): Composite
Parameters
Name | Type |
---|---|
params | CompositeParams |