INNER CODE UNIT · Go

NewApplication

WaveSpeedAI/waverless · cmd/app.go:84

func NewApplication() *Application {
	ctx, cancel := context.WithCancel(context.Background())
	return &Application{
		ctx:          ctx,
		cancel:       cancel,
		cleanupFuncs: make([]func(), 0),
	}
}

// Initialize initializes all application components
func (app *Application) Initialize() error {
	var err error

	// Initialize components in order
	steps := []struct {
		name string
		fn   func() error
	}{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…