Given an actor with the function query func someFunction(): async A
, I would like to know how to explicitly write its type in Motoko, i.e. as
type SomeType = actor {
??? someFunction(): async A;
}
(the problem comes from the presence of the query
modifier).
Thanks,
Matteo