7 lines
287 B
Go
7 lines
287 B
Go
|
|
package launcher
|
||
|
|
|
||
|
|
// Hook is a function executed during the assembly phase — after all OnInit calls
|
||
|
|
// and before all OnStart calls. Use hooks for dependency injection wiring that
|
||
|
|
// requires every component to be initialized before connections are established.
|
||
|
|
type Hook func() error
|