Skip to content

ArrayPromise could be replaced by an ALTREP #155

@sebffischer

Description

@sebffischer

I think it's nice that the PJRTBuffer represents both the promise and the value and it supports the await() interface.
For PJRTArrayPromise this is not possible because we don't control the R array object. However, we could make it an ALTREP so the interface would be standardized (we could also await() the result of as_array_async()). What do you think @dfalbel ? Maybe it's not worth it ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions