tokuhirom / p6-WebSocket

Artistic License 2.0
10 stars 10 forks source link

Fix example (supply changes) #5

Closed AlexDaniel closed 8 years ago

AlexDaniel commented 8 years ago

Otherwise I get this error:

Cannot directly create a Supply. You might want:
 - To use a Supplier in order to get a live supply
 - To use Supply.on-demand to create an on-demand supply
 - To create a Supply using a supply block
  in sub MAIN at chat.pl6 line 10
  in block <unit> at chat.pl6 line 6

I don't know if that's the best way to do it, but at least it works.