Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Oct 17:00
· 19 commits to main since this release
4aaed83

Constants streams.

Access a constant list of values as a stream of the element type list<T> -> stream<T>.

Expressions can define unbounded streams derived from constant values or seeded values passed to the method returning the stream.

/// Incrementing integers. Stream closes when it reaches max int.
/// @expression |v| v + 1
incrementer: async func(seed: u64) -> stream<u64>;
/// Fibonacci sequence. Stream closes when it reaches max int.
/// @value [1, 1]
/// @expression |a, b| a + b
fibonacci: async func() -> stream<u64>;

Published components

File Size Image
interface.wasm 18.6KiB ghcr.io/componentized/constants:0.2.0@sha256:2328eb29cbd86eb4fe21e3d07fa14d31fe364c28ab29d0c597a723da72df6dd6
atomics.wasm 5.2KiB ghcr.io/componentized/constants/atomics:0.2.0@sha256:62a4abbbc7507879aeeee29295bd95598928aac5a221f3af9befb49eb9289417
config.wasm 4.9KiB ghcr.io/componentized/constants/config:0.2.0@sha256:e07ecb28e124be80619bdf62c95a5f9fbf08d96a21b3cecef4526cd7aa185d9a
config.debug.wasm 185.4KiB ghcr.io/componentized/constants/config:0.2.0_debug@sha256:c7a2fcc18359751dc6a513f4e1cebce7296ff56aac7fd4e002e26ad8e9979b6d
factory.wasm 1.9MiB ghcr.io/componentized/constants/factory:0.2.0@sha256:4d67dab786798c85cf54aef608df64ef17f0b5f8c9b237fa3af3621d4f4ed618
factory.debug.wasm 43.8MiB ghcr.io/componentized/constants/factory:0.2.0_debug@sha256:52df91f1736ec0ead44e0b6bd8a585f9ad793913a8806361b4888b1be0de237e
math.wasm 22.7KiB ghcr.io/componentized/constants/math:0.2.0@sha256:56f0b4ebd7a6f52bb52d854b0e9eb34f374178fb9667c839f4fc4a673609c32e
random.wasm 5.6KiB ghcr.io/componentized/constants/random:0.2.0@sha256:696c8c437eebc533a03e38ad4238f81d7d2a71c68383fa36ea3fc2bd9af29ab9
types.wasm 14.4KiB ghcr.io/componentized/constants/types:0.2.0@sha256:fd053d94e3ce680948224073c44bb2eaf9e7bc5c7c434436530761c93189bcbf

What's Changed

Full Changelog: v0.1.1...v0.2.0