FSL.Host.Default (fsl v0.2.0)

Copy Markdown View Source

The host of a state machine that embeds no protocol: a plain %FSL.Context{}, nothing to start, no hooks.

It is not a placeholder. It is what use FSL.Machine gets when it names no host, what FSL's own test suite runs against, and the worked example the documentation needs — so it is written once and used three times.

Summary

Functions

Everything the config block carries goes into appdata.

Functions

build_context(config)

Everything the config block carries goes into appdata.

A machine with no protocol has no native properties to speak of, and guessing which keys deserve a field of their own is the application's job, not the language's.