# InvokeSuccessHandler

**Kind**: type alias | **Module**: [Interop](https://docs.interop.io/desktop/reference/javascript/interop/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/interop/invokesuccesshandler/index.html

Handler to be called if the method invocation succeeds.

```ts
type InvokeSuccessHandler = (result: InvocationResult<T>) => void
```

**Parameters**

- **`result`** (`InvocationResult<T>`, required)
  Result from the method invocation.

**Returns**: `void`

## Related types

- [InvocationResult](https://docs.interop.io/desktop/reference/javascript/interop/invocationresult/index.md)
