fn

open var fn: (state: MiddlewareState) -> Promise<MiddlewareReturn>?