Elektrine lite

← Feed

@whack@hachyderm.io

Post #2050671

2026-05-05 20:50 UTC

Ruby's OpenURI is a really weird API... Some odd callbacks passed as parameters, but also a final callback block that's passed an 'io' object... which seems fine, except it blocks while writing the entire http body to a temporary file before letting you read it... :(

Replies (1)

  • @synack@mastodon.social 2026-05-05 23:50

    @whack@hachyderm.io this sounds like the sort of thing you do when you don’t have a decent async runtime and have to manage the state machines yourself.

    Open ##2443096