返回 DeepSeek-Reasonix
session_lifecycle_test_hooks.go
根目录 / desktop / session_lifecycle_test_hooks.go
1 package main
2
3 import "context"
4
5 // appLifecycleTestHooks exposes instance-local transaction boundaries to tests.
6 // Set hooks before starting operations and never change them concurrently.
7 type appLifecycleTestHooks struct {
8 runtimeMutationBeforeLockHook func(string)
9 lifecycleCheckpointHook func(string)
10 sessionOpenBuildHook func(context.Context)
11 }
12
12 lines GO