v2 / vlib / os / notify / backend_default.c.v
6 lines · 5 sloc · 180 bytes · bf6984e86a6efd53fd61cda6df8f18154bc8da4a
Raw
1module notify
2
3// new returns an error when the current platform has no notifier backend.
4pub fn new() !FdNotifier {
5 return error('os.notify is not supported on this platform')
6}
7