Skip to content

Module: core::Catalog

Jovan Gerodetti edited this page Jul 3, 2018 · 3 revisions

Catalog

exported: default
kind: object
declaration: const

Properties

🚫 _listeners

Type: Array.<Function>
kind: value

Methods

_make() => {void}

kind: function

Stores key value pairs and emits events when ever a pair is assigned

on(event, listener) => {Promise}

kind: function

gives the ability to register an callback as soon as a event is fired

Name Type Description
event string the event to wait for
listener Function the callback function

add(key, value) => {void}

kind: function

assigns a new pair

Name Type Description
key string the key for the assignment
value * any value can be stored

Clone this wiki locally