feat(interface) add ThreadsafeDatastore interface