I don't think that's what the OP is talking about.
They want to have a generic function that returns opaque types implementing different interfaces depending on the inputs. I've replied to that above.
They want to have a generic function that returns opaque types implementing different interfaces depending on the inputs. I've replied to that above.
No comments yet.