A release with a major developer UX upgrade, refactoring and tests.
I've released Steemex v0.6, a websockets Steem client library for Elixir/Erlang.
Steemex.call
and utility functions like Steemex.get_content
are now blocking the calling process by default. As usual in Elixir, you can use Task.async
or other basic primitives for concurrency and parallelization. The new default will provide a more ergonomic experience using idiomatic Elixir code.
Steemex.call
and utility funtions now return {:ok, result}
or {:error, reason}
success tuple.
Warning: this release breaks backward compatibility.
You still will be able to use handler module using stream_to
option, like this: Steemex.call(params, stream_to: HandlerModule)
.
Async call with stream_to will return an id of the call if you need to track it.
An example of handler module is provided in the readme and in the examples folder.
Steemex Github Repo and hex package
Steemex is under active development.
Roadmap
- Investigate using GenStage
- Add transactions broadcast
- Add more utility functions
- Add more types and structs
- Add more docs
How did this get all the way to v0.6 without me seeing it? I need to spend more time on steemit.com...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit