DotNetAppModule

PackageAxial.Hosting
Standalone .NET process integration for Flow applications that do not use Generic Host.

Summary

NameSignatureSynopsis
exitCodeDotNetApp.exitCode exitMaps a final application exit to the conventional standalone process exit codes.
runDotNetApp.run describeError environment applicationRuns a standalone application, translating Ctrl+C into coordinated stop and returning a process exit code.

exitCode

DotNetApp.exitCode exit
Member
Maps a final application exit to the conventional standalone process exit codes.

Parameters

NameTypeDescription
exitExit<'value, 'error>

Returns

int

run

DotNetApp.run describeError environment application
Member
Runs a standalone application, translating Ctrl+C into coordinated stop and returning a process exit code.

Parameters

NameTypeDescription
describeError'error -> string
environment'env
applicationFlow<'env, 'error, 'value>

Returns

Task<int>