Skip to content

Any way to expose the payload ID when sending bytes so that we can correlate it in transfer update? #69

@sarbogast

Description

@sarbogast

Sometimes, when I send a bytes payload, it fails to transmit, and I receive an error in onPayloadTransferUpdate. Then, I would like to try resending the same payload again, but for that I would need to be able to correlate the payload ID I get in PayloadTransferUpdate with the ID of the payload that was sent, but I only get a payload ID back when sending a file, not bytes. I tried to add this feature myself, making sendBytesPayload return a Future<int> instead of a Future<void>, but it seems to be useless because the transfer update is called before sendBytes returns.

Would it even be possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions