# IThreadAffineSequencer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/trait-ithreadaffinesequencer/

**trait** · [`ferroui-reactiveui`](/docs/0.5.0/api/ferroui-reactiveui/) · v0.5.0

```rust
trait IThreadAffineSequencer: IScheduler
```

A scheduler bound to one thread, which can tell whether the calling thread is that thread
(`IThreadAffineSequencer`), as a dispatcher can. In the `Reactive` flavour a sequencer is an
`IScheduler`.

`SequencerViewThreadInvoker` asks it whether a write may
run at once.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/primitives/i_thread_affine_sequencer.rs#L11)

## Members

- [`check_access`](#function-check_access)

<a id="function-check_access"></a>

### check_access

```rust
fn check_access(self: &Self) -> bool
```

Whether the calling thread owns the scheduler, so that work may run at once
(`CheckAccess`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/primitives/i_thread_affine_sequencer.rs#L14)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
