Temporalex.Backend.Test (Temporalex v0.3.2)

Copy Markdown View Source

In-memory backend for server and integration tests.

It sends decoded core structs directly to the server and stores submitted completions for assertions.

Summary

Functions

activity_completions(worker)

clear_completions(worker)

fetch_activity_completion(worker, task_token, timeout \\ 1000)

fetch_workflow_completion(worker, run_id, timeout \\ 1000)

send_activation(worker, activation)

send_activity_task(worker, task)

workflow_completions(worker)