是否可以在 hyperledger fabric 链代码中使用 goroutines?

Is it possible to use goroutines in hyperledger fabric chaincode?

我正在尝试使用 shim.GetQueryResults API 同时使用 goroutines 执行多个查询。但是它失败了,但是当我通常在没有 goroutines 的情况下按顺序这样做时,它可以正常工作。有什么想法吗?

尝试在 goroutine 中使用 GetQueryResults。每次我累了都失败了。还尝试了 GoRoutine 中的 GetState。也失败了。