close Method @beta

Close the reader and release all native resources.

close(): void

@throws if the native layer encounters an error during cleanup. Native resources are not fully released when this throws — check the native error logs for details.

Returns - void

Defined in

Last Updated: 05 September, 2026