Skip to Content

asiochan v2022-11-25

Created
Updated

C++20 coroutine channels for ASIO

# Usage

asiochan is header-only and can be used from CMake via:

find_path(ASIOCHAN_INCLUDE_DIRS "asiochan/asiochan.hpp")
target_include_directories(main PRIVATE ${ASIOCHAN_INCLUDE_DIRS}) 

By default asiochan depend on boost/asio. If you need use standalone asio instead, please define micro ASIOCHAN_USE_STANDALONE_ASIO.
For example:

find_path(ASIOCHAN_INCLUDE_DIRS "asiochan/asiochan.hpp")
target_compile_definitions(main PRIVATE ASIOCHAN_USE_STANDALONE_ASIO)
target_include_directories(main PRIVATE ${ASIOCHAN_INCLUDE_DIRS}) 

# License

# Supported Platforms

All platforms are supported

# Features

No features defined.

# Dependencies

No dependencies.

# Host Dependencies

No dependencies.

# Dependents

No dependents.

# Host Dependents

No dependents.

# Contributors

  • vipcxj's avatar vipcxj

# Changelog

  • 081abea [asiochan] fix MiSo1289#10 (#37161)
  • 710677d [asiochan] add new port (#36289)

# Source