-
Notifications
You must be signed in to change notification settings - Fork 1
Module: core::Catalog
Jovan Gerodetti edited this page Jul 3, 2018
·
3 revisions
exported: default
kind: object
declaration: const
Type: Array.<Function>
kind: value
_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 |