iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Interface: IQReactorOptions

runtime/reactor.IQReactorOptions

Reactor options interface

Table of contents

Properties

Properties

batch

batch: (fn: () => void) => void

Type declaration

▸ (fn): void

Parameters
Name Type
fn () => void
Returns

void

Defined in

core/src/reactor.ts:24


computed

computed: (key: string, getter: () => any, dependencies?: string[]) => void

Type declaration

▸ (key, getter, dependencies?): void

Parameters
Name Type
key string
getter () => any
dependencies? string[]
Returns

void

Defined in

core/src/reactor.ts:22


getObservers

getObservers: () => { [key: string]: Function[]; }

Type declaration

▸ (): Object

Returns

Object

Defined in

core/src/reactor.ts:25


model

model: any

Defined in

core/src/reactor.ts:19


notify

notify: (key?: string) => void

Type declaration

▸ (key?): void

Parameters
Name Type
key? string
Returns

void

Defined in

core/src/reactor.ts:21


observe

observe: (key: string, callback: Function) => void

Type declaration

▸ (key, callback): void

Parameters
Name Type
key string
callback Function
Returns

void

Defined in

core/src/reactor.ts:20


unobserve

unobserve: (key: string, callback?: Function) => void

Type declaration

▸ (key, callback?): void

Parameters
Name Type
key string
callback? Function
Returns

void

Defined in

core/src/reactor.ts:23