Connection initialization #2

Open
opened 2025-07-16 02:51:28 +02:00 by paul · 0 comments
Owner

Opium.connect should basically be a one stop shop. Specifically it should

  • Set the connection encoding to UTF-8
  • Check that the connection actually succeeded
  • Perform any other setup
  • Return Either Error Connection or throw a runtime error e.g. Opium.unsafeConnect
`Opium.connect` should basically be a one stop shop. Specifically it should - [ ] Set the connection encoding to UTF-8 - [ ] Check that the connection actually succeeded - [ ] Perform any other setup - [ ] Return `Either Error Connection` or throw a runtime error e.g. `Opium.unsafeConnect`
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: paul/opium#2
No description provided.