RANDOM_RUST_DEV Telegram 154
Все чаще меня посещает мысль, что хот-релоад и асинк в расте несовместимы.
Вот есть у меня модуль, в котором есть объекты из плагинов.
Есть асинк таска, которая их может использовать.
Ну и что ж получается, если они у меня подменятся прямо во время таски?
Никогда не выгружать объекты эти что ли?

Но это еще у самих объектов все методы не асинк, так что можно их просто каждый раз заново искать в реестре, а не хранить в таске.
А когда методы объектов асинки, что тогда делать то?



tgoop.com/random_rust_dev/154
Create:
Last Update:

Все чаще меня посещает мысль, что хот-релоад и асинк в расте несовместимы.
Вот есть у меня модуль, в котором есть объекты из плагинов.
Есть асинк таска, которая их может использовать.
Ну и что ж получается, если они у меня подменятся прямо во время таски?
Никогда не выгружать объекты эти что ли?

Но это еще у самих объектов все методы не асинк, так что можно их просто каждый раз заново искать в реестре, а не хранить в таске.
А когда методы объектов асинки, что тогда делать то?

BY Random Rust Dev


Share with your friend now:
tgoop.com/random_rust_dev/154

View MORE
Open in Telegram


Telegram News

Date: |

During a meeting with the president of the Supreme Electoral Court (TSE) on June 6, Telegram's Vice President Ilya Perekopsky announced the initiatives. According to the executive, Brazil is the first country in the world where Telegram is introducing the features, which could be expanded to other countries facing threats to democracy through the dissemination of false content. bank east asia october 20 kowloon Private channels are only accessible to subscribers and don’t appear in public searches. To join a private channel, you need to receive a link from the owner (administrator). A private channel is an excellent solution for companies and teams. You can also use this type of channel to write down personal notes, reflections, etc. By the way, you can make your private channel public at any moment. Deputy District Judge Peter Hui sentenced computer technician Ng Man-ho on Thursday, a month after the 27-year-old, who ran a Telegram group called SUCK Channel, was found guilty of seven charges of conspiring to incite others to commit illegal acts during the 2019 extradition bill protests and subsequent months. According to media reports, the privacy watchdog was considering “blacklisting” some online platforms that have repeatedly posted doxxing information, with sources saying most messages were shared on Telegram.
from us


Telegram Random Rust Dev
FROM American