Page: SageFs.Host

Job: generated chapter

Level: F#

Source lines:

  • SageFs.Host/AppRunner.fs:1

SageFs.Host

F#10 source file(s)3696 line(s) of code

grug measure this project from its own files. nobody write this page, so it cannot go stale. why the code is shaped so is for the topics.

what this repository says it is

Runs a session project's compiled entry point inside the worker and owns the resulting app: one app per worker, started, observed and stopped here. SageFs.Host/AppRunner.fs:1

where it start

a program start in

  • SageFs.Host/Program.fs

where the code sits

the code of this project sit in 2 folder(s) below its own. the folder with most lines of code come first.

folderfileslines of code
the project folder itself93396
Resources1300

the files, in the order to read them

the project file lists these in compile order, and in F# a file can use only what came before it. read from the top and each file stand on the ones above. lines count code only, with comments and blanks left out.

#filelineswhat the file say about itself
1SageFs.Host/DevReloadMiddleware.fs161begins with module SageFs.DevReloadMiddleware SageFs.Host/DevReloadMiddleware.fs:1
2SageFs.Host/DevReloadInjector.fs132begins with module SageFs.DevReloadInjector SageFs.Host/DevReloadInjector.fs:1
3SageFs.Host/AppRunner.fs476Runs a session project's compiled entry point inside the worker and owns the resulting app: one app per worker, started, observed and stopped here. SageFs.Host/AppRunner.fs:1
4SageFs.Host/RunAppDelta.fs158The delta route for an app SageFs started with `run_app`. SageFs.Host/RunAppDelta.fs:1
5SageFs.Host/WorkerHttpTransport.fs780begins with module WorkerHttpTransport = SageFs.Host/WorkerHttpTransport.fs:22
6SageFs.Host/HostBoundState.fs21begins with type HostBound() = SageFs.Host/HostBoundState.fs:13
7SageFs.Host/WorkerWireHelpers.fs32begins with module SageFs.Server.WorkerWireHelpers SageFs.Host/WorkerWireHelpers.fs:1
8SageFs.Host/WorkerMain.fs1595begins with module SageFs.Server.WorkerMain SageFs.Host/WorkerMain.fs:1
9SageFs.Host/Program.fs41begins with module SageFs.Host.Program SageFs.Host/Program.fs:1
10SageFs.Host/Resources/devreload.js300

what it use and who use it

no package named in SageFs.Host.fsproj.

it references these projects of this repository:

these projects of this repo reference it:

what test it

these test projects reference it:

  • SageFs.Tests, 1162 test file(s), 216250 line(s)

where to look for trouble

demon watch: complexity spirit demon may lurk here
  • SageFs.Host/DevReloadMiddleware.fs: reflection in 1 place(s) (line 5): reflection reads types while the program runs, so the compiler does not check what it does
  • SageFs.Host/DevReloadInjector.fs: module-level mutable in 3 place(s) (line 13, 26, 129): module-level mutable state is shared by everything that reaches the module; reflection in 5 place(s) (line 4, 58, 63 and 2 more): reflection reads types while the program runs, so the compiler does not check what it does
  • SageFs.Host/AppRunner.fs: reflection in 1 place(s) (line 9): reflection reads types while the program runs, so the compiler does not check what it does
  • SageFs.Host/RunAppDelta.fs: reflection in 1 place(s) (line 16): reflection reads types while the program runs, so the compiler does not check what it does

this sign only tells grug where to look. open the file and look before grug says the demon is there.