func NewMemoryDagService() dms3ld.DAGService {
	// build mem-datastore for editor's intermediary nodes
	bs := bstore.NewBlockstore(syncds.MutexWrap(ds.NewMapDatastore()))
	bsrv := bserv.New(bs, offline.Exchange(bs))
	return dag.NewDAGService(bsrv)
}
// NewMemoryDagService returns a new, thread-safe in-memory DAGService.
NewMemoryDagService returns a new, thread-safe in-memory DAGService.
// NewMemoryDagService returns a new thread - safe in - memory DAGService .
func NewMemoryDagService() dms3ld.DAGService {
	bs := bstore.NewBlockstore(syncds.MutexWrap(ds.NewMapDatastore()))
	bsrv := bserv.New(bs, offline.Exchange(bs))
	return dag.NewDAGService(bsrv)
}
func NewMemoryDagService ( ) dms3ld . DAGService { bs := bstore . NewBlockstore ( syncds . MutexWrap ( ds . NewMapDatastore ( ) ) ) bsrv := bserv . New ( bs , offline . Exchange ( bs ) ) return dag . NewDAGService ( bsrv ) }
NewMemoryDagService returns a new, thread-safe in-memory DAGService.
NewMemoryDagService returns a new thread - safe in - memory DAGService .
// build mem-datastore for editor's intermediary nodes