github jillesvangurp/kotlin4example v1.1.0
API cleanup

latest releases: v1.1.6, v1.1.5, v1.1.4...
20 months ago

This release cleans up the kotlin API a bit.

  • block and suspendingBlock are deprecated. The replacements are example and suspendingExample. The ReplaceWith should do the right things mostly. However, it does not preserve the arrow and "Captured output" String.
  • example returns an ExampleOutput instance with a Result<T> of whatever the block returns plus the captured stdout as a string

Don't miss a new kotlin4example release

NewReleases is sending notifications on new releases.