Hi,
Please how to use Wait For with KVS.PutMapAsync ? I can not find how to write it (below attached what I thought I had to write). Thanks
Please how to use Wait For with KVS.PutMapAsync ? I can not find how to write it (below attached what I thought I had to write). Thanks
B4X:
Dim kvs1 As KeyValueStore
kvs1.Initialize(File.DirApp,"users") 'Example played on B4J
kvs1.PutMapAsync(CreateMap("U1":"p1","U2":"p2","U3":"p3"))
Wait For(kvs1) kvs1_Terminated(kvs1 As KeyValueStore)
Log("Finished")
kvs1.Close