miniBill / elm-faster-benchmark / FastBenchmark.Backend

Main application

app : FastBenchmark.Config.Config graph function -> Ports (Msg graph function) -> Program graph function

Main backend app.

Types


type Msg graph function

The message type for the backend.


type alias Ports msg =
{ fromFrontend : (Codec.Value -> msg) -> Platform.Sub.Sub msg
, toFrontend : Codec.Value -> Platform.Cmd.Cmd msg 
}

Ports needed for the backend.


type alias Program graph function =
Platform.Program {} {} (Msg graph function)

A convenient type for a backend Program.