Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + func PollOnce(timeout time.Duration, outFd *int32, outEvents *int32, outData *unsafe.Pointer) int32 + func Run(fn func(*Looper)) + type Error int32 + func (e Error) Error() string + type Event int32 + const EventError + const EventHangup + const EventInput + const EventInvalid + const EventOutput + type LOOPER_POLL int32 + const ALOOPER_POLL_CALLBACK + const ALOOPER_POLL_ERROR + const ALOOPER_POLL_TIMEOUT + const ALOOPER_POLL_WAKE + type LOOPER_PREPARE_ALLOW int32 + const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS + type Looper struct + func ALooper_forThread() *Looper + func NewLooperFromPointer(ptr unsafe.Pointer) *Looper + func Prepare(opts int32) *Looper + func (h *Looper) Acquire() + func (h *Looper) Close() error + func (h *Looper) Pointer() unsafe.Pointer + func (h *Looper) RemoveFd(fd int32) error + func (h *Looper) Wake()