SliceCallback
The SliceCallback
type describes a function that takes a Slice
's Id
and a callback to loop over each Row
within it.
(
sliceId: Id,
forEachRow: (rowCallback: RowCallback) => void,
): void
Type | Description | |
---|---|---|
sliceId | Id | |
forEachRow | (rowCallback: RowCallback) => void | A function that will let you iterate over the |
returns | void | This has no return value. |
A SliceCallback
is provided when using the forEachSlice
method, so that you can do something based on every Slice
in an Index
. See that method for specific examples.
Since
v1.0.0