Logo FsShelter

Task Module

Task execution

Types

Type Description

Task<'t>

Task signature

Functions and values

Function or value Description

ofTopology t compId

Full Usage: ofTopology t compId

Parameters:
Returns: Runnable<'t>
Type parameters: 't

converts topology to a runnable task

t : Topology<'t>
compId : ComponentId
Returns: Runnable<'t>

run mkIO task

Full Usage: run mkIO task

Parameters:
Type parameters: 't

Reads the handshake and runs the specified task

mkIO : Log -> IO<'t>
task : Task<'t>

runWith startLog mkIO task

Full Usage: runWith startLog mkIO task

Parameters:
    startLog : int -> Log
    mkIO : Log -> IO<'t>
    task : Task<'t>

Type parameters: 't

Reads the handshake and runs the specified task with a logger

startLog : int -> Log
mkIO : Log -> IO<'t>
task : Task<'t>

Type something to start searching.