Name

SPVM::Go::UV::Callback::Poll - Callback for Poll Handle

Description

Go::UV::Callback::Poll in SPVM is the interface for the callback passed to uv_poll_start.

Usage

use Go::UV::Callback::Poll;

Interface Methods

Anonymous method

required method : void ($uv_poll : Go::UV::Handle::Poll, $status : int, $events : int);

The callback method called when the poll handle detects events or an error occurs.

See Go::UV::Handle::Poll#start method for usage.

Copyright & License

Copyright (c) 2026 Yuki Kimoto

MIT License