laravel-echo
Version:
Laravel Echo library for beautiful Pusher and Socket.IO integration
14 lines (12 loc) • 329 B
text/typescript
import { NullChannel } from "./null-channel";
/**
* This class represents a null private channel.
*/
export class NullPrivateChannel extends NullChannel {
/**
* Send a whisper event to other clients in the channel.
*/
whisper(_eventName: string, _data: Record<any, any>): this {
return this;
}
}