observe_rsc_upload/2
Upload and replace the resource with the given data. The data is in the given format.
Type:
Return:
\{ok, Id\} or \{error, Reason\}, return \{error, badarg\} when the data is corrupt.
#rsc_upload{}
properties:
id:
m_rsc:resource()|undefined
format:
json|bert
data:
binary|map