-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
Currently, initialising and using a DHT client involves a lot of boilerplate, making it unsuitable for use in quick D scripts.
The ideal would be for things like this to work:
void main ( )
{
Dht.connect("dht.nodes");
Dht.update!(S)(key,
( ref S deserialized_record )
{
// changes made to deserialized_record will be written back to the DHT
}
);
}Reactions are currently unavailable