Run the graph with a single input and config.
invoke(
input: InputType | CommandType | null,
options: Partial<Omit<PregelOptions<Nodes, Channels, ContextType, StreamMode | StreamMode[] | undefined, boolean, "text/event-stream" | undefined>, "encoding">>
): Promise<OutputType>| Name | Type | Description |
|---|---|---|
input* | InputType | CommandType | null | The input to the graph. |
options | Partial<Omit<PregelOptions<Nodes, Channels, ContextType, StreamMode | StreamMode[] | undefined, boolean, "text/event-stream" | undefined>, "encoding">> | The configuration to use for the run. |