gather method
- Series indices
Implementation
Series gather(Series indices) {
_runtime._requireSeries(indices);
final leases = _leaseAll([_owner, indices._owner]);
try {
return _runtime._adoptSeries(
_runtime._client.invokeSync('seriesGather', {
'series': leases[0].handle.toString(),
'indices': leases[1].handle.toString(),
}),
);
} finally {
_releaseAll(leases);
}
}