Interface IFunctionDelegate
Represents a common interface for all function delegates.
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public interface IFunctionDelegate
Properties
FunctionName
Gets or sets the name of the function.
Declaration
string FunctionName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Invoke(string)
Executes the function with the provided argument.
Declaration
UniTask<Result<string>> Invoke(string argument)
Parameters
Type | Name | Description |
---|---|---|
string | argument | The serialized argument for the function. |
Returns
Type | Description |
---|---|
UniTask<Result<string>> | A task representing the asynchronous operation, with a result containing the serialized function result. |