abstract fun putAsync(hash: Bytes32, content: Bytes): AsyncCompletion
(source)
Store content with a given hash.
Note: if the storage implementation already contains content for the given hash, it does not need to replace the existing content.
hash
- The hash for the content.
content
- The content to store.
Return
An AsyncCompletion that will complete when the content is stored.