Client Reference
graphai.callback
Callback Objects
aiter
Used by receiver to get the tokens from the stream queue. Creates a generator that yields tokens from the queue until the END token is received.
start_node
Starts a new node and emits the start token.
end_node
Emits the end token for the current node.
close
Close the stream and prevent further tokens from being added. This will send an END token and set the done flag to True.