1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Fake network poller for js/wasm.
6 // Should never be used, because js/wasm network connections do not honor "SetNonblock".
15 func netpollIsPollDescriptor(fd uintptr) bool {
19 func netpollopen(fd uintptr, pd *pollDesc) int32 {
23 func netpollclose(fd uintptr) int32 {
27 func netpollarm(pd *pollDesc, mode int) {
33 func netpoll(delay int64) gList {