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