> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-typedoc-upgrade.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Op<T>

> TypeScript SDK reference

> **Op**\<`T`> = `object` & `T` & (...`args`) => `ReturnType`\<`T`> *extends* `AsyncIterable`\<infer U> ? `AsyncIterable`\<`Awaited`\<`U`>> : `Promise`\<`Awaited`\<`ReturnType`\<`T`>>>

Defined in: [src/opType.ts:7](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/opType.ts#L7)

## Type Declaration

### \_\_boundThis?

> `optional` **\_\_boundThis?**: [`WeaveObject`](../classes/weaveobject)

### \_\_isOp

> **\_\_isOp**: `true`

### \_\_name

> **\_\_name**: `string`

### \_\_parameterNames?

> `optional` **\_\_parameterNames?**: `ParameterNamesOption`

### \_\_savedRef?

> `optional` **\_\_savedRef?**: `OpRef` | `Promise`\<`OpRef`>

### \_\_wrappedFunction

> **\_\_wrappedFunction**: `T`

### invoke

> **invoke**: `CallMethod`\<`T`>

## Type Parameters

### T

`T` *extends* (...`args`) => `any`
