UNPKG

@solid/community-server

Version:

Community Solid Server: an open and modular implementation of the Solid specifications

14 lines (13 loc) 569 B
import { AsyncHandler } from 'asynchronous-handlers'; import type { NotificationChannel } from './NotificationChannel'; /** * Handles the `state` feature of notifications. * Every implementation of a specific notification channel type should make sure an instance of this class * gets called when a `state` notification can be sent out. * * Implementations of this class should handle all channels and filter out those that need a `state` notification. */ export declare abstract class StateHandler extends AsyncHandler<{ channel: NotificationChannel; }> { }