logo   async
machine.dev

/examples/README.md

Table of contents:

Examples

aRPC Setup

DAG Dependency Graph

  • #relations #handlers #async #auto #dependency-graph

Fan Out Fan In

  • #relations #handlers #async #auto #concurrency

FSM - Finite State Machine

  • #relations #handlers #negotiation #auto
  • origin

NFA - Nondeterministic Finite Automaton

  • #relations #handlers #async #multi
  • origin

PATH Watcher

  • #relations #handlers #async #negotiation #multi
  • origin

Pipes

  • #handlers #composition
  • origin

Mach Template

  • #template #handlers #telemetry #repl #relations #generator #negotiation #multi

Raw Strings

  • #relations #handlers #async #negotiation #auto
  • origin

Relations Playground

REPL

  • #arpc #repl

Subscriptions

Temporal Expense Workflow

  • #relations #handlers #async #negotiation #auto #temporal
  • origin

Temporal FileProcessing Workflow

Tree State Source

  • #relations #negotiation #auto #arpc #otel #metrics #grafana #generator #data
  • origin

Benchmarks

Benchmark gRPC

  • #relations #handlers #negotiation #arpc #grpc
  • origin

Benchmark libp2p PubSub

  • #relations #handlers #async #negotiation #libp2p
  • origin

Benchmark State Source

  • #docker #go-wrt #caddy
  • origin

Demos

am-dbg Debugger

Interactively use the TUI debugger with data pre-generated by a secai bot:

go run github.com/pancsta/asyncmachine-go/tools/cmd/am-dbg@latest \
  --import-data https://assets.asyncmachine.dev/am-dbg-exports/secai-cook.gob.br \
  mach://cook

Apps