Resistive switching in 2D bismuth oxyhalide nanosheets for nonvolatile memory and emulation of leaky integrate-and-fire functions. (October 2022)