Beignet API reference
    Preparing search index...

    Function createInlineNotificationsProvider

    • Create a provider that contributes an inline notification dispatcher.

      Use it as the dev-default notifications port in server/providers.ts. Channel handlers run with an app service context built lazily through the server context blueprint on each send, so the provider is safe to register before all providers have started. Sends are recorded as devtools events through the notifications watcher when an instrumentation port is installed.

      Parameters

      Returns ServiceProvider<
          unknown,
          StandardSchemaV1<void, void>,
          { notifications: NotificationPort },
          unknown,
          void,
      >