Updates from Gurnell
svn: r6579
This commit is contained in:
parent
e74be6df7b
commit
81d4758f08
|
@ -28,7 +28,8 @@ the users and implementers of managers.
|
||||||
[continuation-store! (number? any/c expiration-handler? . -> . (list/c number? number?))]
|
[continuation-store! (number? any/c expiration-handler? . -> . (list/c number? number?))]
|
||||||
[continuation-lookup (number? number? number? . -> . any/c)])]{
|
[continuation-lookup (number? number? number? . -> . any/c)])]{
|
||||||
@scheme[create-instance] is called to initialize a instance, to hold the
|
@scheme[create-instance] is called to initialize a instance, to hold the
|
||||||
continuations of one servlet session. It is passed some arbitrary data and
|
continuations of one servlet session. It is passed some internal data to store
|
||||||
|
for the server and
|
||||||
a function to call when the instance is expired. It runs the id of the
|
a function to call when the instance is expired. It runs the id of the
|
||||||
instance.
|
instance.
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ the users and implementers of managers.
|
||||||
@scheme[continuation-store!] is given an instance-id, a continuation value,
|
@scheme[continuation-store!] is given an instance-id, a continuation value,
|
||||||
and a function to include in the exception thrown if the continuation is
|
and a function to include in the exception thrown if the continuation is
|
||||||
looked up and has been expired. The two numbers returned are a
|
looked up and has been expired. The two numbers returned are a
|
||||||
continuation-id and a random nonce.
|
continuation-id and a nonce.
|
||||||
|
|
||||||
@scheme[continuation-lookup] finds the continuation value associated with
|
@scheme[continuation-lookup] finds the continuation value associated with
|
||||||
the instance-id, continuation-id, and nonce triple it is given.
|
the instance-id, continuation-id, and nonce triple it is given.
|
||||||
|
|
|
@ -26,7 +26,8 @@ provides:
|
||||||
@defthing[timeout integer?]{
|
@defthing[timeout integer?]{
|
||||||
This number is used as the @scheme[continuation-timeout] argument to
|
This number is used as the @scheme[continuation-timeout] argument to
|
||||||
a timeout-based continuation manager used for this servlet. (See
|
a timeout-based continuation manager used for this servlet. (See
|
||||||
@secref["timeouts.ss"].)
|
@secref["timeouts.ss"].) (i.e., you do not have a choice of the manager
|
||||||
|
for this servlet and will be given a timeout-based manager.)
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(start [initial-request request?])
|
@defproc[(start [initial-request request?])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user