miniBill/elm-faster-benchmark/1.0.0

NOTE: the latest version is 2.1.1

FastBenchmark.Frontend

Main application

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

Main frontend app.

Types

type alias Flags =
{ workersCount : Int }

Flags needed for the frontend.

type Msg graph function

The message type for the frontend.

type Model graph function

The frontend model.

type alias Ports msg =
{ terminateAll : {} -> Cmd msg
, fromBackend :
( { index : Int
, data : Value
}
-> msg
)
-> Sub msg
, toBackend :
{ index : Int
, data : Value
}
-> Cmd msg
}

Ports needed for the frontend.

type alias Program graph function =
Program Flags (Model graph function) (Msg graph function)

A convenient type for a frontend Program.