...
Package close
import "github.com/tetratelabs/wazero/internal/close"
- Overview
- Index
Package close allows experimental.CloseNotifier without introducing a
package cycle.
type Notifier interface {
CloseNotify(ctx context.Context, exitCode uint32)
}
NotifierKey is a context.Context Value key. Its associated value should be a
Notifier.
type NotifierKey struct{}