instantiate

  • page
steal.hooks.instantiate  

A loader hook that determines the module's dependencies and provides a function that will result in its value.

instantiate(load)

Parameters

  1. load {load}

    The load object associated with this module.

Returns

{Promise | instantiateResult}

The instantiateResult is an object that describes the module by providing its dependencies and a function that will provide its value.

Help us improve StealJS by taking our community survey