Refinitiv Data Platform Library for TypeScript

close

Allows you to close the Pricing connection, releasing resources.

Syntax

stream.close()

Parameters

None.

Returned value

Promise<void> an empty promise

Usage

The following example demonstrates how to close previously opened pricing stream.

const stream = Pricing.Definition(['EUR=']).getStream();

await stream.open();

// get and process the streaming data

await stream.close();

None.