Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BaseStore

import { BaseStore } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.10/deps/scrapbox.ts";
class BaseStore {
constructor();
private _onChangeListeners: BaseStoreListener[];
public get listenersCount(): number;
 
public addChangeListener(listener: BaseStoreListener): void;
public emitChange(event: string): void;
public removeChangeListener(listener: BaseStoreListener): void;
}

§Constructors

§
new BaseStore()
[src]

§Properties

§
_onChangeListeners: BaseStoreListener[]
[src]
§
listenersCount: number readonly
[src]

§Methods

§
addChangeListener(listener: BaseStoreListener): void
[src]
§
emitChange(event: string): void
[src]
§
removeChangeListener(listener: BaseStoreListener): void
[src]