unreal.ToolCallAsyncResultVoid

class unreal.ToolCallAsyncResultVoid(outer: Object | None = None, name: Name | str = 'None')

Bases: ToolCallAsyncResult

Async tool call result that completes with no value.

C++ Source:

  • Plugin: ToolsetRegistry

  • Module: ToolsetRegistry

  • File: ToolCallAsyncResultVoid.h

Editor Properties: (see get_editor_property/set_editor_property)

  • error (str): [Read-Write] If this is an non-empty string, an error occurred while executing the tool that returned this instance. An empty string indicates either no error occurred or the associated tool call is not complete. warning: Do not set this from C++ instead use SetError() or SetValue() if implemented by the subclass.

  • is_complete (bool): [Read-Write] Whether the associated tool call is complete and the result via Value and GetValueAsJson() or Error are available to read. warning: Do not set this from C++ instead use SetError() or SetValue() if implemented by the subclass.

  • on_completed (ToolCallAsyncResultCompleted): [Read-Write] Notified when the tool call is completes successfully or with an error.

set_completed() bool

Complete this result with no value and notify listeners of OnCompleted.

Return type:

bool