(result)
return d
Same as twisted.internet.defer.succeed but delay calling callback until
    next reactor loop

    It delays by 100ms so reactor has a chance to go through readers and writers
    before attending pending delayed calls, so do not set delay to zero.
Same as twisted.internet.defer.succeed but delay calling callback until
    next reactor loop
Same as twisted . internet . defer . succeed but delay calling callback until next reactor loop
def defer_succeed(result) -> Deferred:
    """Same as twisted.internet.defer.succeed but delay calling callback until
    next reactor loop

    It delays by 100ms so reactor has a chance to go through readers and writers
    before attending pending delayed calls, so do not set delay to zero.
    """
    from twisted.internet import reactor
    d = Deferred()
    reactor.callLater(0.1, d.callback, result)
    return d
def defer_succeed ( result ) -> Deferred : from twisted . internet import reactor d = Deferred ( ) reactor . callLater ( 0.1 , d . callback , result ) return d