github.com/goplusjs/gopherjs@v1.2.6-0.20211206034512-f187917453b8/compiler/natives/src/os/signal/signal.go (about) 1 // +build js 2 3 package signal 4 5 // Package signal is not implemented for GOARCH=js. 6 7 func signal_disable(uint32) {} 8 func signal_enable(uint32) {} 9 func signal_ignore(uint32) {} 10 func signal_recv() uint32 { return 0 } 11 12 func loop() {}