mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
Example removed from real code
git-svn-id: https://svn.fhem.de/fhem/trunk@2385 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d3e3226aca
commit
a62471a6bb
@ -9,12 +9,12 @@ use IO::Socket::INET;
|
||||
sub BlockingCall($$$$);
|
||||
|
||||
|
||||
=pod
|
||||
### Usage:
|
||||
sub TestBlocking() { BlockingCall("DoSleep", 5, "SleepDone", 8); }
|
||||
sub DoSleep($) { sleep(shift); return "I'm done"; }
|
||||
sub SleepDone($) { Log 1, "SleepDone: " . shift; }
|
||||
|
||||
=pod
|
||||
=cut
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user