Skip to content

Example actors, capability providers, and other demonstrations

Notifications You must be signed in to change notification settings

average-bit/examples

 
 

Repository files navigation

Examples

Example actors, capability providers, and other demonstrations

  • echo - An actor that returns a JSON payload describing the incoming request
  • subscriber - A simple actor that logs every message it receives to stdout
  • kvcounter - An actor that uses the key-value store to increment a counter and return a value for every HTTP request it receives
  • keyvalue-provider - A sample in-memory Key-Value Store capability provider, used by the tutorial for creating a new capability provider
  • inmemory-streams - An example illustrating an in-memory wascc:eventstreams provider
  • extras - A sample illustrating the use of the wascc:extras capability for random number, Guid, and sequence number generation.
  • multibinding - An example illustrating the use of named bindings to support multiple, differentiable instances of the same capability provider type.

To run these, go to the root directory of the wascc-host project and issue the following command:

$ cargo run --example (example name)

You'll see the examples in the examples directory.

About

Example actors, capability providers, and other demonstrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 73.0%
  • Makefile 19.6%
  • Shell 4.8%
  • TypeScript 2.6%