task-distribution-0.1.0.3: Distributed processing of changing tasks

Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Task.TaskSpawning.RemoteExecutionSupport

Description

Catches expected entry points for full binary deployment / thunk serialization. These modes deploy the itself as a program and are called remote with different arguments, which is handled here. |

Synopsis

Documentation

withRemoteExecutionSupport :: (TaskInput -> TaskResult) -> IO () -> IO () Source

Combines all defined task mode hooks.

withFullBinaryRemoteExecutionSupport :: (TaskInput -> TaskResult) -> IO () -> IO () Source

Provides support for fullbinary task mode.

withSerializedThunkRemoteExecutionSupport :: IO () -> IO () Source

Provides support for serialized thunk task mode.