- runAction<A>(actionName, input?): Promise<(A extends Action
? AsyncReturnType<A<A>["run"]>
: {
[key: string]: any;
}) & {
error?: any;
messageId?: string;
requesterInformation?: {
fingerprint: string;
id: string;
messageId: string;
receivedParams: {
[key: string]: any;
};
remoteIP: string;
};
serverInformation?: {
apiVersion: string;
currentTime: number;
requestDuration: number;
serverName: string;
};
}> Type Parameters
- A extends void | Action = void
Parameters
- actionName: string
- input: Record<string, any> | Partial<SpecHelperConnection> = {}
Returns Promise<(A extends Action
? AsyncReturnType<A<A>["run"]>
: {
[key: string]: any;
}) & {
error?: any;
messageId?: string;
requesterInformation?: {
fingerprint: string;
id: string;
messageId: string;
receivedParams: {
[key: string]: any;
};
remoteIP: string;
};
serverInformation?: {
apiVersion: string;
currentTime: number;
requestDuration: number;
serverName: string;
};
}>
Run an action via the specHelper server.