Name

SPVM::Go::UV::Handle::Pipe - Pipe Handle for libuv

Description

Go::UV::Handle::Pipe in SPVM represents the pipe handle for libuv, corresponding to the uv_pipe_t structure.

Super Class

Go::UV::Handle::Stream

Usage

use Go::UV::Handle::Pipe;

my $pipe = Go::UV::Handle::Pipe->new;

Class Methods

new

static method new : Go::UV::Handle::Pipe ();

Creates a new Go::UV::Handle::Pipe object, and returns it.

Instance Methods

open

method open : void ($fd : int);

Associates an existing file descriptor $fd with the pipe handle.

This method calls the uv_pipe_open function.

Exceptions:

If uv_pipe_open fails, an exception is thrown.

Copyright & License

Copyright (c) 2026 Yuki Kimoto

MIT License