Queues are great; but it looks like you're trying to solve a different problem. In my own case, the aim was to store a function for delayed execution. That's slightly different from storing typical state. The interesting bit (hopefully) in here is serialising and deserialising function calls.
No comments yet.