Open saschanaz opened 1 year ago
Some specs are directly calling structuredSerialize and again immediately structuredDeserialize to achieve the same, per webref: https://github.com/search?q=repo%3Aw3c%2Fwebref+structuredDeserialize+path%3A%2F%5Eed%5C%2F%2F+path%3A%2F%5Eed%5C%2Flinks%5C%2F%2F&type=code
Maybe worth exporting some helper?
(From https://github.com/whatwg/streams/issues/1285)
Assuming none of those also mean to store it, sounds like you've found a pattern worth abstracting indeed.
Some specs are directly calling structuredSerialize and again immediately structuredDeserialize to achieve the same, per webref: https://github.com/search?q=repo%3Aw3c%2Fwebref+structuredDeserialize+path%3A%2F%5Eed%5C%2F%2F+path%3A%2F%5Eed%5C%2Flinks%5C%2F%2F&type=code
Maybe worth exporting some helper?
(From https://github.com/whatwg/streams/issues/1285)