# BarrierWaitResult

`import { BarrierWaitResult } from "destack:sync";`

Result returned by a barrier wait.

```ds title="BarrierWaitResult"
export struct BarrierWaitResult {
    isLeader: boolean;
}
```

[language/library/src/sync/barrier.ds:25:28](https://github.com/destack-sh/destack/blob/main/language/library/src/sync/barrier.ds#L25-L28)

## Members

### `isLeader: boolean`

Whether this participant completed the barrier generation.
