* Data is provided through the imageStreamHandler parameter. Returning nil inside imageStreamHandler
* signals that the stream was closed and no more data is available.
However, since the entire class is marked as NS_ASSUME_NONNULL, it's not possible to return nil from swift in these stream based methods.
This PR fixes the annotations, allowing a nil return from the closure in swift.
However, since the entire class is marked as
NS_ASSUME_NONNULL
, it's not possible to returnnil
from swift in these stream based methods.This PR fixes the annotations, allowing a
nil
return from the closure in swift.