# fpromise::executor

<br />

**This is an abstract class.**   

## Summary

### Inheritance

Direct Known Subclasses:[async::Executor](https://fuchsia.dev/reference/cpp/class/async/executor), [fpromise::single_threaded_executor](https://fuchsia.dev/reference/cpp/class/fpromise/single-threaded-executor)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fpromise/executor#classfpromise_1_1executor_1af66955bf6508ba933501d3f9e536e270()` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fpromise/executor#classfpromise_1_1executor_1a8eb09ce923b81bca7e811c5d83e82cd9(https://fuchsia.dev/reference/cpp/class/fpromise/pending-task#classfpromise_1_1pending__task task)=0` | `virtual void` |

## Public functions

### schedule_task

```c++
virtual void schedule_task(
  pending_task task
)=0
```

### \~executor

```c++
virtual  ~executor()=default
```