import { AsyncIterator } from "https://deno.land/x/ldkit@v0.6.3/library/asynciterator.ts";
Retrieves the property with the given name from the iterator.
If no callback is passed, it returns the value of the property
or undefined
if the property is not set.
If a callback is passed, it returns undefined
and calls the callback with the property the moment it is set.
Parameters
optional
callback: (value: P) => void