[stash] add stash callback