callback function for xaa.map to map the value.
value to map
index of the value in the array
MapContext
any or a promise
callback function for xaa.map to map the value.