Run the graph with a single input and config.
invoke(
input: InputType | CommandType | null,
options: Partial<Omit<PregelOptions<Record<"__start__" | N, PregelNode<State, Update>>, Record<string | N, BaseChannel<unknown, unknown, unknown>>, ContextType Record<string, any>, 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<Record<"__start__" | N, PregelNode<State, Update>>, Record<string | N, BaseChannel<unknown, unknown, unknown>>, ContextType & Record<string, any>, StreamMode | StreamMode[] | undefined, boolean, "text/event-stream" | undefined>, "encoding">> | The configuration to use for the run. |