Yea, that makes sense. Basically exactly how you can use an eigenbasis in linear algebra to diagonalize a matrix.
18 karma · joined November 7, 2022
if (!(value instanceof Promise)) {
value = Promise.resolve(value)
}
And then you write the rest of your code as if it is async.