MinimalBootstrap enables std/os module registration but skips timer injection.
()
| 309 | |
| 310 | // MinimalBootstrap enables std/os module registration but skips timer injection. |
| 311 | func MinimalBootstrap() ContextBootstrapOption { |
| 312 | return func(o *ContextBootstrapOptions) { |
| 313 | o.loadStdOS = true |
| 314 | o.injectTimers = false |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | // NoBootstrap disables all host bootstrap steps. |
| 319 | func NoBootstrap() ContextBootstrapOption { |
no outgoing calls