Signals
Run code when certain events happen.
from plain.signals import request_finished
def on_request_finished(sender, **kwargs):
print("Request finished!")
request_finished.connect(on_request_finished)
Plain is headed towards 1.0! Subscribe for development updates →
Run code when certain events happen.
from plain.signals import request_finished
def on_request_finished(sender, **kwargs):
print("Request finished!")
request_finished.connect(on_request_finished)