Name

SPVM::Go::UV::Callback::Read - Callback for Read Operation

Description

Go::UV::Callback::Read in SPVM is the interface for the callback passed to uv_read_start.

Usage

use Go::UV::Callback::Read;

Interface Methods

Anonymous method

required method : void ($uv_stream : Go::UV::Handle::Stream, $nread : int, $buffer : string);

The callback method called when data has been received from the stream.

See Go::UV::Handle::Stream#read_start method for usage.

Copyright & License

Copyright (c) 2026 Yuki Kimoto

MIT License