codex-storage / nim-ethers

Port of ethers.js to Nim
Other
8 stars 4 forks source link

feat: subscriptions get passed result questionable #91

Open AuHau opened 3 weeks ago

AuHau commented 3 weeks ago

Introduces breaking change to API, where subscription handlers now return Result type. Handlers, similarly to now will be called with events wrapped in the Result when new events are detected, but also handlers will be called when some error in the underlying event detection mechanism is detected.