func()

in pkg/nitro_enclaves_cpu_plugin/device_plugin.go [190:199]


func (necdp *NitroEnclavesCPUDevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error {
	err := s.Send(&pluginapi.ListAndWatchResponse{Devices: necdp.devices})
	if err != nil {
		return err
	}

	<-necdp.stop
	return nil

}