Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

SocketDeliveryErrorContext

interfaz

Dónde falló una entrega; event no existe en los fallos de desuscripción.

ts
import type { SocketDeliveryErrorContext } from "@meekojs/meeko/server";

Source code src/server/socket/runtime.ts:263

Declaración #

ts
interface SocketDeliveryErrorContext {
	readonly channel: string
	readonly room: string
	readonly event?: string
}

Example #

ts
import type { SocketDeliveryErrorContext } from "@meekojs/meeko/server";

const describe = ({ channel, room, event }: SocketDeliveryErrorContext): string =>
  event ? `${channel}/${room}: ${event}` : `${channel}/${room}: desuscripción`;

Propiedades #

channel #

propiedad sólo lectura

readonly channel: string

Canal.

room #

propiedad sólo lectura

readonly room: string

Sala.

event #

propiedad sólo lectura opcional

readonly event?: string

Evento que no se pudo entregar.

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/server/socket/runtime.ts