Class: RunNumberStreamify

RunNumberStreamify()

augmented with RxJS useful for Angular

Constructor

new RunNumberStreamify()

Source:

Extends

Members

_reemit :function

Type:
  • function
Inherited From:
Source:

activities$ :Observable

Type:
  • Observable
Source:

cloudy :Cloudy

Type:
Inherited From:
Source:

db :DocumentStore

Type:
Inherited From:
Source:

Methods

(async, static) create(cloudyOptions, storeOptions) → {Promise.<RunNumber>}

copied from super class RunNumber, not a good practice! make sure it gets GC'd
Parameters:
Name Type Description
cloudyOptions Object
storeOptions Object
Source:
Returns:
Ready'd RunNumber instance
Type
Promise.<RunNumber>

(async) addBill(bill) → {Promise.<Bill>}

Interface to create / edit existing bill.
Parameters:
Name Type Description
bill Bill bill to be saved. note that it might be mutated -- new events without ID attribute will be populated automatically
Inherited From:
Source:
Returns:
- the original bill reference. Might be mutated.
Type
Promise.<Bill>

del(key) → {Promise.<any>}

Parameters:
Name Type Description
key string
Inherited From:
Source:
Returns:
Type
Promise.<any>

get(key) → {Bill}

Parameters:
Name Type Description
key string
Inherited From:
Source:
Returns:
Type
Bill

query(filter) → {Array.<Event>}

Gets the events in an unspecified order
Parameters:
Name Type Description
filter function pick/reject unwanted bills
Inherited From:
Source:
Returns:
- array of events
Type
Array.<Event>