Skip to content

Instantly share code, notes, and snippets.

@dherman
Last active October 16, 2015 20:55
Show Gist options
  • Select an option

  • Save dherman/8f745609227b67902aad to your computer and use it in GitHub Desktop.

Select an option

Save dherman/8f745609227b67902aad to your computer and use it in GitHub Desktop.
%%RegistryPrototype%%[ @@iterator ]
%%RegistryPrototype%%.get(key) -> RegistryEntry
%%RegistryPrototype%%.set(key, module)
%%RegistryPrototype%%.has(key) -> boolean
%%RegistryPrototype%%.delete(key)
get %%RegistryEntryPrototype%%.stage -> "fetch" or "translate" or "instantiate" or "satisfy" or "link" or "ready"
get %%RegistryEntryPrototype%%.module -> module object or null
%%RegistryEntryPrototype%%.load(stage) -> promise
%%RegistryEntryPrototype%%.result(stage) -> promise or undefined
%%RegistryEntryPrototype%%.resolve(stage, result)
%%RegistryEntryPrototype%%.reject(stage, error)
%%RegistryEntryPrototype%%.cancel(stage)
@caridy
Copy link

caridy commented Oct 16, 2015

add .result(stage) as part of RegistryEntryPrototype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment