buffer_close: Close a Buffer

View source: R/buffer.R

buffer_closeR Documentation

Close a Buffer

Description

Closes the buffer and releases the underlying shared memory.

Usage

buffer_close(x, unlink = NULL)

Arguments

x

A shard_buffer object.

unlink

Whether to unlink the underlying segment.

Value

NULL, invisibly.

Examples


buf <- buffer("double", dim = 10)
buffer_close(buf)


shard documentation built on April 3, 2026, 9:08 a.m.