You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next to d.streamListItem it would be great to have a d.streamList functionality when multiple items need to be streamed.
A naive implementation could look something like:
func (d*QueryData) streamList(ctx context.Context, iteminterface{}) {
for_, item:=rangeitem {
ifitem!="" {
d.StreamListItem(ctx, item)
}
// Context can be cancelled due to manual cancellation or the limit has been hitifd.QueryStatus.RowsRemaining(ctx) ==0 {
break
}
}
}
The text was updated successfully, but these errors were encountered:
Created upon request from turbot/steampipe-plugin-github#167.
Next to
d.streamListItem
it would be great to have ad.streamList
functionality when multiple items need to be streamed.A naive implementation could look something like:
The text was updated successfully, but these errors were encountered: