notify raw
This section is a work in progress.
Examples:
import { Canister, ic, Principal, update, Void } from 'azle/experimental';
export default Canister({
sendNotification: update([], Void, () => {
return ic.notifyRaw(
Principal.fromText('ryjl3-tyaaa-aaaaa-aaaba-cai'),
'receiveNotification',
Uint8Array.from(ic.candidEncode('()')),
0n
);
})
});