UNPKG

@soketi/soketi-js

Version:

Laravel Echo extension that works with Soketi, a Laravel-ready WebSockets service.

27 lines (26 loc) 557 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NullChannel = void 0; const channel_1 = require("./channel"); class NullChannel extends channel_1.Channel { subscribe() { } unsubscribe() { } listen(event, callback) { return this; } stopListening(event, callback) { return this; } subscribed(callback) { return this; } error(callback) { return this; } on(event, callback) { return this; } } exports.NullChannel = NullChannel;