Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How to make all participant nodes synchronize data when uploading Dar filesForum ↗

How to make all participant nodes synchronize data when uploading Dar files

App Development5 posts242 views4 likesLast activity Jul 2022
SK
skylornaOP
Jul 2022 1

When I used the command “participants.all.dars.upload()” to upload Dar files on participant1, participant2 did not upload synchronously. Is there a relevant command that allows all nodes to upload files at the same time

NE
nemanja
Jul 2022 1

Hi @skylorna :wave:

As far as I know this is still a manual process and you need to upload dar file per participant.

SK
skylorna
Jul 2022

thank you

CO
cocreature
Jul 2022 2

There are convenience commands to make that easier though, in particular participants.all:

participants.all.foreach(_.dars.upload("my.dar"))

or

participants.local.dars.upload("my.dar")
SK
skylorna
Jul 2022

thank you

← Back to Discussions