public static void parkAndSerialize(final FiberWriter writer) {
        try {
            Fiber.parkAndSerialize(writer);
        } catch (SuspendExecution e) {
            throw RuntimeSuspendExecution.of(e);
        }
    }
public static void parkAndSerialize ( final FiberWriter writer ) { try { Fiber . parkAndSerialize ( writer ) ; } catch ( SuspendExecution e ) { throw RuntimeSuspendExecution . of ( e ) ; } }
Parks the fiber and allows the given callback to serialize it.

@param writer a callback that can serialize the fiber.