Open vigith opened 1 month ago
the moment we add handler to struct, Clone
will no longer be applicable
I think we should rely on message passing to shutdown tasks. Another possible option is to return join handles in a wrapper struct and abort tasks within the Drop
implementation of it.
spawn handlers are lost in https://github.com/numaproj/numaflow/blob/main/rust/numaflow-core/src/source.rs#L111-L126