UNPKG

@cutls/megalodon

Version:

Mastodon, Pleroma, Misskey API client for node.js and browser

15 lines (14 loc) 298 B
import { EventEmitter } from 'events' export default class Streaming extends EventEmitter { constructor() { super() } channelSubscriptions = [] reconnect() { throw new Error('Method not implemented.') } subscribe(_name, _stream, _add) {} unsubscribe(_stream) {} start() {} stop() {} }