# fdf_env::DispatcherBuilder

## Summary

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fdf-env/dispatcher-builder#classfdf__env_1_1_dispatcher_builder_1a4a5d4a65e13f67d5e1b74134bd0e0cbd(const void *driver, https://fuchsia.dev/reference/cpp/struct/fdf/synchronized-dispatcher/options#structfdf_1_1_synchronized_dispatcher_1_1_options options, std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/callback-impl#classfit_1_1callback__impl shutdown_handler, std::string_view scheduler_role)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< https://fuchsia.dev/reference/cpp/class/fdf/synchronized-dispatcher#classfdf_1_1_synchronized_dispatcher >` |
| `https://fuchsia.dev/reference/cpp/class/fdf-env/dispatcher-builder#classfdf__env_1_1_dispatcher_builder_1a77553191a818806babb6f1c84f30d33b(const void *driver, https://fuchsia.dev/reference/cpp/struct/fdf/unsynchronized-dispatcher/options#structfdf_1_1_unsynchronized_dispatcher_1_1_options options, std::string_view name, https://fuchsia.dev/reference/cpp/class/fit/callback-impl#classfit_1_1callback__impl shutdown_handler, std::string_view scheduler_role)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result< https://fuchsia.dev/reference/cpp/class/fdf/unsynchronized-dispatcher#classfdf_1_1_unsynchronized_dispatcher >` |

## Public static functions

### CreateSynchronizedWithOwner

```c++
zx::result< fdf::SynchronizedDispatcher > CreateSynchronizedWithOwner(
  const void *driver,
  fdf::SynchronizedDispatcher::Options options,
  std::string_view name,
  fdf::Dispatcher::ShutdownHandler shutdown_handler,
  std::string_view scheduler_role
)
```

### CreateUnsynchronizedWithOwner

```c++
zx::result< fdf::UnsynchronizedDispatcher > CreateUnsynchronizedWithOwner(
  const void *driver,
  fdf::UnsynchronizedDispatcher::Options options,
  std::string_view name,
  fdf::Dispatcher::ShutdownHandler shutdown_handler,
  std::string_view scheduler_role
)
```