Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

function assemble(config: Configuration, components: Components): Promise<Program>;
§
assemble(config: Configuration, components: Components): Promise<Program>
[src]

§Parameters

§
components: Components
[src]

§Return Type