Write a project description
This project requires NodeJS (version 8 or later) and NPM.
import type { LoaderFunction } from "@remix-run/node"; | |
import type { ChatMessageEvent } from "~/events.server"; | |
import { chatEvents } from "~/events.server"; | |
export let loader: LoaderFunction = ({ request }) => { | |
if (!request.signal) { | |
throw new Error("No request signal provided by the platform"); | |
} |