// This is a stub! None of this is actually implemented yet. function hideFromStack(fns) { for (const fn of fns) { Object.defineProperty(fn, "name", { value: "::bunternal::", }); } } class TODO extends Error { constructor(messageName) { const message = messageName ? `node:dgram ${messageName} is not implemented yet in Bun. Track the status and thumbs up the issue: https://github.com/oven-sh/bun/issues/1630` : `node:dgram is not implemented yet in Bun. Track the status and thumbs up the issue: https://github.com/oven-sh/bun/issues/1630`; super(message); this.name = "TODO"; } } function notimpl(message) { throw new TODO(message); } function createSocket() { notimpl("createSocket"); } function Socket() { notimpl("Socket"); } function _createSocketHandle() { notimpl("_createSocketHandle"); } const defaultObject = { createSocket, Socket, _createSocketHandle, [Symbol.for("CommonJS")]: 0, }; export { defaultObject as default, Socket, createSocket, _createSocketHandle }; hideFromStack([TODO.prototype.constructor, notimpl, createSocket, Socket, _createSocketHandle]); -process-fixes Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/server.zig (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-17Add JSC.WeakGravatar Jarred Sumner 2-0/+293
2023-10-15more microtasksGravatar Jarred Sumner 1-11/+5
2023-10-15It's starting to workGravatar Jarred Sumner 6-49/+89
2023-10-15Things can happenGravatar Jarred Sumner 9-53/+150
2023-10-15FurtherGravatar Jarred Sumner 1-20/+30
2023-10-15The startup message sends successfullyGravatar Jarred Sumner 4-96/+130
2023-10-15it compiledGravatar Jarred Sumner 2-158/+238
2023-10-15okay we are starting to try itGravatar Jarred Sumner 4-9/+43
2023-10-15Okay most of the code is writtenGravatar Jarred Sumner 3-29/+398
2023-10-14MoreGravatar Jarred Sumner 7-66/+504
2023-10-14wipGravatar Jarred Sumner 8-16/+1194
2023-10-14More progressGravatar Jarred Sumner 4-36/+405
2023-10-13wipGravatar Jarred Sumner 8-48/+308