Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-Ajaj committed Dec 6, 2022
1 parent a77cd4c commit 87fbdf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/nodejs/runtime/invoke.ts
Expand Up @@ -75,7 +75,7 @@ export function invoke(tok: string, props: Inputs, opts: InvokeOptions = {}): Pr
}

/*
* `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin.
* `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin.
* Similar to `invoke`, but returns a single value instead of an object with a single key.
*/
export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = {}): Promise<any> {
Expand All @@ -84,7 +84,7 @@ export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = {
const keys = Object.keys(outputs);
// return the first key's value from the outputs
return outputs[keys[0]];
})
});
}

export async function streamInvoke(
Expand Down

0 comments on commit 87fbdf4

Please sign in to comment.