1
0
This repository has been archived on 2022-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
twitch-channel-redemptions/src/backend/index.ts

14 lines
311 B
TypeScript

import { connect } from "./chatClient";
import { listen } from "./helpers/webServer";
import { registerUserListener } from "./pubSubClient";
const channel = "alexbcberio";
export async function bootstrap() {
await Promise.all([
registerUserListener(channel),
connect([channel]),
]);
listen();
}