...

Package close

import "github.com/tetratelabs/wazero/internal/close"
Overview
Index

Overview ▾

Package close allows experimental.CloseNotifier without introducing a package cycle.

Index ▾

Package files

close.go

type Notifier

type Notifier interface {
    CloseNotify(ctx context.Context, exitCode uint32)
}

type NotifierKey

NotifierKey is a context.Context Value key. Its associated value should be a Notifier.

type NotifierKey struct{}