Skip to content

docs: add a lifetime and ownership page for composing coroutines #406

Description

@sgerbino

From the review result:

Capy: add a lifetime and ownership section covering the issues that users need to understand when composing Capy coroutines.

Source: Boost review result (conditional acceptance), Boost mailing list, September 2026.

Lifetime guidance is currently scattered: lambda captures (4h), continuation dangling (4d), destroy() on suspended handles (4e), when_all captures (4f), buffer reference params (5a). No single page gathers the rules for arguments by reference, frame lifetimes, and shutdown ordering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions