Functionwrite-resourcesNo description available. write-resources: func(id: id, resources: list<resource>) -> result<_, io-error>;