Skip to content

Tracking Issue for core::stream::pending #91683

Open

Description

@ibraheemdev

Feature gate: #![feature(stream_pending)]

This is a tracking issue for core::stream::{pending, Pending}, a stream that always returns Poll::Pending.

Public API

// core::stream

pub fn pending<T>() -> Pending<T> { ... }

pub struct Pending<T> { ... }

impl<T> Stream for Pending<T> { ... }

Steps / History

Unresolved Questions

  • None yet.

Activity

  1. added
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    T-libs-api[DEPRECATED; DO NOT USE]
    on Dec 9, 2021
  2. yoshuawuyts commented on Dec 14, 2021

    @yoshuawuyts
    Member

    Blocking concern: this function should not be stabilized before the working group has been able to complete a feasibility study of async overloading, as that may mean that we may no longer have an std::stream submodule. Instead we'd likely fold the functionality of std::stream into std::iter, exposing this as std::iter::pending instead.

  3. tgross35 commented on Aug 25, 2025

    @tgross35
    Member

    Since this hasn't been approved by libs-api yet, it needs an ACP (mentioned this on the PR as well)

  4. added
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    and removed
    T-libs-api[DEPRECATED; DO NOT USE]
    on Aug 12, 2026
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

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions