Function assemble

  • Build a Webnative Program based on a given set of Components. These are various customisable components that determine how a Webnative app works. Use program to work with a default, or partial, set of components.

    Additionally this does a few other things:

    • Restores a session if one was made before and loads the user's file system if needed.
    • Attempts to collect capabilities if the configuration has permissions.
    • Provides shorthands to functions so you don't have to pass in components.
    • Ensure backwards compatibility with older Webnative clients.

    See the program.fileSystem.load function if you want to load the user's file system yourself.

    Parameters

    Returns Promise<Program>

Generated using TypeDoc