![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/dceprojects.corals.io/node_modules/laravel-echo/dist/channel/ |
/** * This class represents a basic channel. */ export declare abstract class Channel { /** * The Echo options. */ options: any; /** * Listen for an event on the channel instance. */ abstract listen(event: string, callback: Function): Channel; /** * Listen for a whisper event on the channel instance. */ listenForWhisper(event: string, callback: Function): Channel; /** * Listen for an event on the channel instance. */ notification(callback: Function): Channel; /** * Stop listening to an event on the channel instance. */ abstract stopListening(event: string, callback?: Function): Channel; /** * Stop listening for a whisper event on the channel instance. */ stopListeningForWhisper(event: string, callback?: Function): Channel; /** * Register a callback to be called anytime a subscription succeeds. */ abstract subscribed(callback: Function): Channel; /** * Register a callback to be called anytime an error occurs. */ abstract error(callback: Function): Channel; }