go.uber.org/atomic.Bool.Swap (method)

4 uses

	go.uber.org/atomic (current package)
		bool.go#L71: func (x *Bool) Swap(val bool) (old bool) {

	go.uber.org/multierr
		error.go#L479: 		if l, ok := left.(*multiError); ok && !l.copyNeeded.Swap(true) {

	go.pact.im/x/supervisor
		supervisor.go#L188: 	if p.stopped.Swap(true) {
		supervisor.go#L205: 	if p.stopped.Swap(true) {