Sink Node
A sink node is a final node within a process network. By default, it will store data objects contained in data frames that are received by this sink.
Handling data frames
ts
import {SinkNode ,DataFrame ,PushOptions } from '@openhps/core';export classMySink <In extendsDataFrame > extendsSinkNode <In > {onPush (frame :In ,options ?:PushOptions ):Promise <void> {return newPromise ((resolve ,reject ) => {console .log (frame .source .getPosition ());resolve ();});}}