Skip to content

Method GetGreetingAsync

Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll

GetGreetingAsync()

Simple task method that returns a greeting from the device. This demonstrates basic [Task] attribute usage with method interception.

csharp
[Task]
public virtual Task<string> GetGreetingAsync()

Returns

Task<string>

A greeting message from the MicroPython device.

Released under the Apache License 2.0.