mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-03-16 07:10:57 +00:00
8 lines
265 B
Plaintext
8 lines
265 B
Plaintext
import "@fluencelabs/aqua-dht/pubsub.aqua"
|
|
|
|
func put_value(initial_peer: string, value: string) -> string:
|
|
none_service_id: *string
|
|
on initial_peer:
|
|
-- Op.noop()
|
|
initTopicAndSubscribe(initial_peer, "some-const3", value, nil, nil)
|
|
<- "OK" |