Currently, we would return a list for MultiPass::get_identity, but if there is a large list being generated, this may cause delays and likely an increase in memory during that process. We could negate this by returning a Stream for the function instead, allowing the end-user to poll the stream to completion or according to their use-case.
Currently, we would return a list for
MultiPass::get_identity
, but if there is a large list being generated, this may cause delays and likely an increase in memory during that process. We could negate this by returning aStream
for the function instead, allowing the end-user to poll the stream to completion or according to their use-case.