# fpromise::context

<br />

**This is an abstract class.**   

## Summary

### Inheritance

Direct Known Subclasses:[async::Context](https://fuchsia.dev/reference/cpp/class/async/context)

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fpromise/context#classfpromise_1_1context_1a9ba3d4c6297852244083c806dfa58dfd()&` | `Context &` |
| `https://fuchsia.dev/reference/cpp/class/fpromise/context#classfpromise_1_1context_1aa2aa27da4386808d5e7e68c6a4179b14() const =0` | `virtual class https://fuchsia.dev/reference/cpp/class/fpromise/executor#classfpromise_1_1executor *` |
| `https://fuchsia.dev/reference/cpp/class/fpromise/context#classfpromise_1_1context_1aec2c14a1bb56604db37fe71ff3794d48()=0` | `virtual https://fuchsia.dev/reference/cpp/class/fpromise/suspended-task#classfpromise_1_1suspended__task` |

| ### Protected functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fpromise/context#classfpromise_1_1context_1a0b664ace233b1e831c5755d03ff53d02()=default` | `virtual ` |

## Public functions

### as

```c++
Context & as()&
```

### executor

```c++
virtual class executor * executor() const =0
```

### suspend_task

```c++
virtual suspended_task suspend_task()=0
```

## Protected functions

### \~context

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