connection.LoadAsync<TEntity> throws
AsafMag opened this issue · 2 comments
AsafMag commented
The following code:
...
connection.LoadAsync<WirelessAccessList>(
(item) => { },
(ex) => { }
);
...
Throws:
interface/wireless/access-list
MESSAGE: no such command
Am I using it wrong?
danikf commented
Hi,
I don't understand the reason why load list (sample command returns list just once) with async method. It didn't work (LoadAsync didn't add /print suffix). This behavior has been fixed by 843b50a commit.
So - with DEV tik4net version your sample code will work correctly (but synchronous load is still recomended).
D