UNPKG

@nymphjs/pubsub

Version:

Nymph.js - PubSub Server

5 lines (4 loc) 244 B
import type { Nymph } from '@nymphjs/nymph'; import { Config } from './conf/index.js'; import PubSub from './PubSub.js'; export default function createServer(port: number | undefined, config: Partial<Config> | undefined, nymph: Nymph): PubSub;