We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3581780 commit d44c049Copy full SHA for d44c049
default.go
@@ -34,8 +34,8 @@ func Run(fn ...any) {
34
35
// Serve starts all daemons and waits for termination signal using the default application instance.
36
// This function will start all registered daemons and block until a shutdown signal is received.
37
-func Serve() {
38
- Default.Serve()
+func Serve(fn ...any) {
+ Default.Serve(fn...)
39
}
40
41
// End triggers application termination
0 commit comments