---
title: "nw_framer_async(_:_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_framer_async(_:_:)"
---

# nw_framer_async(_:_:)

Requests that a block be executed on the connection’s internal scheduling context.

## Declaration

```swift
func nw_framer_async(_ framer: nw_framer_t, _ async_block: @escaping nw_framer_block_t)
```

## Discussion

Discussion You should call this if you need to call any framer functions but are in another scheduling context.

## See Also

### Handling Asynchronous Events

- [nw_framer_schedule_wakeup(_:_:)](network/nw_framer_schedule_wakeup(_:_:).md)
- [NW_FRAMER_WAKEUP_TIME_FOREVER](network/nw_framer_wakeup_time_forever.md)
- [nw_framer_set_wakeup_handler(_:_:)](network/nw_framer_set_wakeup_handler(_:_:).md)
- [nw_framer_wakeup_handler_t](network/nw_framer_wakeup_handler_t.md)
- [nw_framer_block_t](network/nw_framer_block_t.md)
