A state slice that owns a history of datasets and can be set to single or multiple
mode. Every ToolState slice with setDatasetMode implements this shape, which lets
callers (the setDatasetMode tool, createMapAgent's datasets option, …) handle the
whole family uniformly without listing slice names.
A state slice that owns a history of datasets and can be set to
singleormultiplemode. Every ToolState slice withsetDatasetModeimplements this shape, which lets callers (thesetDatasetModetool,createMapAgent'sdatasetsoption, …) handle the whole family uniformly without listing slice names.