MCPcopy
hub / github.com/socketio/socket.io / fastify-entrypoint.js

File fastify-entrypoint.js

examples/pm2-example/fastify-entrypoint.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import Fastify from "fastify";
2import staticPlugin from "@fastify/static";
3import { Server } from "socket.io";
4import { createAdapter } from "@socket.io/cluster-adapter";

Callers

nothing calls this directly

Calls 7

createAdapterFunction · 0.90
doneFunction · 0.85
sendFileMethod · 0.80
emitMethod · 0.65
onMethod · 0.45
disconnectSocketsMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected