> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: BranchReviewController

> One local observer per authenticated deployment and branch generation.

[browser](/api/modules/browser).BranchReviewController

One local observer per authenticated deployment and branch generation.
Native review and release owners alone retain and advance durable work.

## Constructors

### constructor

• **new BranchReviewController**(`options`)

#### Parameters

| Name | Type |
| :- | :- |
| `options` | [`BranchReviewControllerOptions`](/api/modules/browser#branchreviewcontrolleroptions) |

## Methods

### getSnapshot

▸ **getSnapshot**(): [`BranchReviewSnapshot`](/api/modules/browser#branchreviewsnapshot)

#### Returns

[`BranchReviewSnapshot`](/api/modules/browser#branchreviewsnapshot)

***

### subscribe

▸ **subscribe**(`listener`): () => `void`

#### Parameters

| Name | Type |
| :- | :- |
| `listener` | () => `void` |

#### Returns

`fn`

▸ (): `void`

##### Returns

`void`

***

### initializeSelection

▸ **initializeSelection**(`reviewId`): `void`

#### Parameters

| Name | Type |
| :- | :- |
| `reviewId` | `null` \| `string` |

#### Returns

`void`

***

### setIncludeOperations

▸ **setIncludeOperations**(`includeOperations`): `void`

#### Parameters

| Name | Type |
| :- | :- |
| `includeOperations` | `boolean` |

#### Returns

`void`

***

### inspect

▸ **inspect**(): `Promise`\<`void`>

#### Returns

`Promise`\<`void`>

***

### review

▸ **review**(`«destructured»`): `Promise`\<`void`>

#### Parameters

| Name | Type |
| :- | :- |
| `«destructured»` | `Object` |
| › `includeOperations` | `boolean` |

#### Returns

`Promise`\<`void`>

***

### publish

▸ **publish**(): `Promise`\<`void`>

#### Returns

`Promise`\<`void`>

***

### reconnect

▸ **reconnect**(): `void`

A changed transport capability invalidates a pending read, not selection.

#### Returns

`void`

***

### returned

▸ **returned**(): `void`

#### Returns

`void`

***

### dispose

▸ **dispose**(): `void`

Detach local requests. Accepted work continues under its native owner.
A later subscription may observe the same session again (React remount).

#### Returns

`void`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.