Skip to content

Best place to store persistent data modifications? #24

Description

@cerupcat

I'm using SYNQueue to upload 4 files and when they're all done, post the file URL result to a server. Uploading each file and calling a completion operation after they're done (by using dependencies on the uploads) work fine. However, I'm not sure how to store the result of each upload so the final completion operation can use the URL results from the upload to the server. It would work fine if I kept a variable that each operation added too - however, not all operations are done over again when loading serialized tasks.

What's the best way to share/modify data in each task that is persisted?

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions