@toruslabs/broadcast-channel
Version:
A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers
10 lines (9 loc) • 543 B
TypeScript
import * as IndexedDbMethod from "./methods/indexed-db";
import * as LocalstorageMethod from "./methods/localstorage";
import * as NativeMethod from "./methods/native";
import * as ServerMethod from "./methods/server";
export { BroadcastChannel, enforceOptions, OPEN_BROADCAST_CHANNELS } from "./broadcast-channel";
export * from "./method-chooser";
export { RedundantAdaptiveBroadcastChannel } from "./redundant-adaptive-broadcast-channel";
export * from "./types";
export { IndexedDbMethod, LocalstorageMethod, NativeMethod, ServerMethod };