Skip to content

Refactor src/index.js into smaller functions#128

Closed
levoski1 wants to merge 2 commits into
RiftCore00:mainfrom
levoski1:issue-4-refactor-index
Closed

Refactor src/index.js into smaller functions#128
levoski1 wants to merge 2 commits into
RiftCore00:mainfrom
levoski1:issue-4-refactor-index

Conversation

@levoski1

Copy link
Copy Markdown
Contributor

Closes #4

  • Extracts parseConfig as a named export that reads env vars and returns config
  • Extracts shutdown as a named export that accepts wss and signal parameters
  • Both functions include JSDoc
  • Entry-point logic is minimal and delegates to these functions

@levibliz levibliz closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants