Class: App

App(definition) → {App}

new App(definition) → {App}

Generic bundle for building Fabric applications.
Parameters:
Name Type Description
definition Object Application definition. See `config` for examples.
Source:
Returns:
Returns an instance of `App`.
Type
App

Methods

_defer(authority) → {App}

Defer control of this application to an outside authority.
Parameters:
Name Type Description
authority String Hostname to trust.
Source:
Returns:
The configured application as deferred to `authority`.
Type
App

(async) define(name, structure) → {Object}

Define a Resource, or "Type", used by the application.
Parameters:
Name Type Description
name String Human-friendly name for the Resource.
structure Object Map of attribute names -> definitions.
Source:
Returns:
[description]
Type
Object